Skip to content

Commit

Permalink
user.roles: add roles for members membership, board management modules
Browse files Browse the repository at this point in the history
  • Loading branch information
louking committed May 30, 2020
1 parent 545c6c4 commit 6058edf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion loutilities/user/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@
# members roles
ROLE_LEADERSHIP_ADMIN = 'leadership-admin'
ROLE_LEADERSHIP_MEMBER = 'leadership-member'
ROLE_MEMBERSHIP_ADMIN = 'membership-admin'
ROLE_BOARDMGMT_ADMIN = 'boardmgmt-admin'
ROLE_BOARDMGMT_MEMBER = 'boardmgmt-member'
roles_members = [{'name': ROLE_LEADERSHIP_ADMIN, 'description': 'access to leadership tasks for members application', 'apps':[APP_MEMBERS]},
{'name': ROLE_LEADERSHIP_MEMBER, 'description': 'user of leadership tasks for members application', 'apps':[APP_MEMBERS]}
{'name': ROLE_LEADERSHIP_MEMBER, 'description': 'user of leadership tasks for members application', 'apps':[APP_MEMBERS]},
{'name': ROLE_MEMBERSHIP_ADMIN, 'description': 'access to membership admininstration for members application', 'apps':[APP_MEMBERS]},
{'name': ROLE_BOARDMGMT_ADMIN, 'description': 'access to board management administration for members application', 'apps':[APP_MEMBERS]},
{'name': ROLE_BOARDMGMT_MEMBER, 'description': 'user of board management for members application', 'apps':[APP_MEMBERS]},
]

# routes roles
Expand Down
2 changes: 1 addition & 1 deletion loutilities/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# this string is used for the version string in the documentation, as well as the egg
__version__ = '3.3.0'
__version__ = '3.3.1.dev1'

0 comments on commit 6058edf

Please sign in to comment.