Changes in ow/models/user.py [78af3d1:63df989] in OpenWorkouts-current
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/models/user.py
r78af3d1 r63df989 6 6 import bcrypt 7 7 from repoze.folder import Folder 8 from pyramid.security import Allow , Deny, Everyone, ALL_PERMISSIONS8 from pyramid.security import Allow 9 9 10 10 from ow.catalog import get_catalog, reindex_object … … 18 18 def __acl__(self): 19 19 permissions = [ 20 (Allow, str(self.uid), 'edit'), 20 21 (Allow, str(self.uid), 'view'), 21 (Allow, str(self.uid), 'edit'),22 (Deny, Everyone, ALL_PERMISSIONS),23 22 ] 24 23 return permissions
Note: See TracChangeset
for help on using the changeset viewer.