•  
      request #11836 Accessing a docman element without enough permissions raises a fatal error
    Infos
    #11836
    Thomas Gerbet (tgerbet)
    2018-07-19 12:04
    2018-07-17 09:48
    12453
    Details
    Accessing a docman element without enough permissions raises a fatal error
    If a user tries to access an element of the document manager without enough rights a fatal error is raised.

    Issue has been introduced during the development of story #10408 (gerrit #11874).


    Trace:
    Catchable fatal error: Argument 1 passed to Error_PermissionDenied::buildInterface() must be an instance of PFUser, none given, called in /usr/share/tuleap/plugins/docman/include/view/Docman_View_PermissionDeniedError.class.php on line 27 and defined in /usr/share/tuleap/src/common/error/Error_PermissionDenied.class.php on line 84
    Call Stack
    # Time Memory Function Location
    1 0.0000 238752 {main}( ) ../index.php:0
    2 0.0416 8112384 DocmanPlugin->process( ) ../index.php:29
    3 0.0476 9284064 Controler->process( ) ../docmanPlugin.class.php:378
    4 0.0536 9581464 Docman_Controller->viewsManagement( ) ../Controler.class.php:61
    5 0.0541 9615680 Docman_View_PermissionDeniedError->display( ) ../Docman_Controller.class.php:1770
    6 0.0542 9631584 Error_PermissionDenied->buildInterface( ) ../Docman_View_PermissionDeniedError.class.php:27
    Doc/Documentation manager
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-07-19
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    Not completly fixed, the end user can no longer ask to have access to doc.


    • Status changed from Closed to Reopen
    • Close date cleared