•  
      request #9158 A fatal error can be thrown when checking user's permissions
    Infos
    #9158
    Thomas Gerbet (tgerbet)
    2016-05-18 10:06
    2016-05-15 17:23
    9428
    Details
    A fatal error can be thrown when checking user's permissions

    Depending on the execution path, a fatal error can be raised when the method User::hasPermission is called.

    The following code snippet reproduce the issue:

    
    getCurrentUser();
    $user->hasPermission('PERM', 'OBJECT', 101);
    
    
    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2016-05-18
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Merged into Tuleap 8.14.99.57

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Under implementation to Closed
    • Close date set to 2016-05-18
    User avatar
    Thomas Gerbet (tgerbet)2016-05-15 17:40
    A patch is under review: gerrit #5682.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes