Changeset 1409 for trunk/pylucid/PyLucid/system/plugin_manager.py
- Timestamp:
- 02/14/08 14:53:16 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pylucid/PyLucid/system/plugin_manager.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/system/plugin_manager.py
r1392 r1409 142 142 else: 143 143 raise AccessDeny 144 145 if method_cfg["must_admin"]: 146 # The User must be an admin to use this method 147 if not (request.user.is_superuser or request.user.is_staff): 148 raise AccessDeny 144 149 145 150 URLs = context["URLs"]