Changeset 9259 for main/waeup.kofa/trunk/src/waeup/kofa/permissions.py
- Timestamp:
- 30 Sep 2012, 20:27:12 (12 years ago)
- File:
-
- 1 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
Note: See TracChangeset for help on using the changeset viewer.