Advertisement
Guest User

UnauthorizedBinding Debug

a guest
Dec 9th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.89 KB | None | 0 0
  1. Zope2-2.13.19-py2.7.egg/Shared/DC/Scripts/Bindings.py(287)_getContext()
  2. 285                     try: getSecurityManager().validate(parent, container, '', self)
  3. 286                     except Unauthorized:
  4. ->                      return UnauthorizedBinding('context', self)
  5. (Pdb) getSecurityManager().validate(parent, container, '', self)
  6. *** Unauthorized: Your user account does not have the required permission.  Access to '' of (ATFolder at /website.com/my_folder) denied. Your user account, Anonymous User, exists at (unknown). Access requires Access_contents_information_Permission, granted to the following roles: ['Contributor', 'Editor', 'Manager', 'Owner', 'Reader', 'Site Administrator']. Your roles in this context are ['Anonymous'].
  7. (Pdb) self
  8. <ATFolder at /website.com/my_folder/my_sub_folder>
  9. (Pdb) parent
  10. <ATFolder at /website.com/my_folder>
  11. (Pdb) container
  12. <ATFolder at /website.com/my_folder>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement