[Zope] Giving access to error_log.showEntry to non-Manager users

martin.gfeller at comit.ch martin.gfeller at comit.ch
Thu Jan 18 13:05:36 EST 2007


>Stuff that starts with 'manage_' always requires the Manager role.

It seems that this is declared in App.Management.Navigation as:
    security.declareProtected(view_management_screens,
'manage_page_header')

However, I found a way around: Using the call error_log/getLogEntryById
instead of the error_log/showEntry that is returned by error_log_url, I
get
the same information outside of the management screens (it only needs 
'Log Site Errors' permission.

Best regards,
Martin Gfeller



More information about the Zope mailing list