Changeset 9259 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 30 Sep 2012, 20:27:12 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/permissions.py
r9186 r9259 196 196 grok.name('waeup.UsersManager') 197 197 grok.title(u'Users Manager') 198 grok.permissions('waeup.manageUsers') 198 grok.permissions('waeup.manageUsers', 199 'waeup.editUser') 199 200 200 201 class PortalManager(grok.Role): 201 202 grok.name('waeup.PortalManager') 202 203 grok.title(u'Portal Manager') 203 grok.permissions('waeup.managePortal', 'waeup.manageUsers', 204 grok.permissions('waeup.managePortal', 205 'waeup.manageUsers', 204 206 'waeup.viewAcademics', 'waeup.manageAcademics', 205 207 'waeup.manageACBatches', 206 'waeup.manageDataCenter', 'waeup.importData', 208 'waeup.manageDataCenter', 209 'waeup.importData', 207 210 'waeup.managePortalConfiguration', 'waeup.viewApplication', 208 211 'waeup.manageApplication', 'waeup.handleApplication', … … 216 219 'waeup.viewHostels', 'waeup.manageHostels', 217 220 'waeup.editUser' 221 ) 222 223 class CCOfficer(grok.Role): 224 """The Computer Center Officer gets the same permissions as the 225 Portal Manager except the most dangerous ones. 226 """ 227 grok.name('waeup.CCOfficer') 228 grok.title(u'Computer Center Officer') 229 grok.permissions(#'waeup.managePortal', 230 #'waeup.manageUsers', 231 'waeup.viewAcademics', 'waeup.manageAcademics', 232 #'waeup.manageACBatches', 233 'waeup.manageDataCenter', 234 #'waeup.importData', 235 'waeup.managePortalConfiguration', 'waeup.viewApplication', 236 'waeup.manageApplication', 'waeup.handleApplication', 237 'waeup.viewApplicantsTab', 'waeup.payApplicant', 238 'waeup.viewApplicationStatistics', 239 'waeup.viewStudent', 'waeup.manageStudent', 240 'waeup.clearStudent', 'waeup.payStudent', 241 'waeup.uploadStudentFile', 'waeup.showStudents', 242 'waeup.viewStudentsContainer','waeup.viewStudentsTab', 243 'waeup.handleAccommodation', 244 'waeup.viewHostels', 'waeup.manageHostels', 245 #'waeup.editUser' 218 246 ) 219 247 -
main/waeup.kofa/trunk/src/waeup/kofa/permissions.txt
r9002 r9259 39 39 >>> from waeup.kofa.permissions import get_waeup_roles 40 40 >>> len(list(get_waeup_roles())) 41 1 541 16 42 42 43 43 >>> len(list(get_waeup_roles(also_local=True))) 44 2944 30 45 45 46 46 … … 59 59 u'waeup.Applicant', 60 60 u'waeup.ApplicationsOfficer', 61 u'waeup.CCOfficer', 61 62 u'waeup.DataCenterManager', 62 63 u'waeup.ImportManager',
Note: See TracChangeset for help on using the changeset viewer.