Changeset 1184:92bcf3fa79e4
- Timestamp:
- 06/27/11 08:52:18 (11 months ago)
- Branch:
- bundestag
- Tags:
- tip
- Location:
- adhocracy/lib
- Files:
-
- 2 edited
-
auth/user.py (modified) (1 diff)
-
install.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adhocracy/lib/auth/user.py
r1076 r1184 40 40 41 41 def vote(): 42 if has('global.organization'): 43 return False 42 44 return c.instance and c.user and has('vote.cast') -
adhocracy/lib/install.py
r1182 r1184 92 92 mk_perm("global.admin", admins) 93 93 mk_perm("global.member", admins) 94 mk_perm("global.organization", organization) 94 95 95 96 model.meta.Session.commit()
Note: See TracChangeset
for help on using the changeset viewer.
