[8401] | 1 | ## $Id: permissions.py 8594 2012-06-01 22:15:13Z henrik $ |
---|
| 2 | ## |
---|
| 3 | ## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann |
---|
| 4 | ## This program is free software; you can redistribute it and/or modify |
---|
| 5 | ## it under the terms of the GNU General Public License as published by |
---|
| 6 | ## the Free Software Foundation; either version 2 of the License, or |
---|
| 7 | ## (at your option) any later version. |
---|
| 8 | ## |
---|
| 9 | ## This program is distributed in the hope that it will be useful, |
---|
| 10 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 11 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 12 | ## GNU General Public License for more details. |
---|
| 13 | ## |
---|
| 14 | ## You should have received a copy of the GNU General Public License |
---|
| 15 | ## along with this program; if not, write to the Free Software |
---|
| 16 | ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
| 17 | ## |
---|
| 18 | import grok |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | class CRPUOfficer(grok.Role): |
---|
[8441] | 22 | """ Permissions of Uniben CRPU members. |
---|
| 23 | |
---|
[8594] | 24 | This is basically a copy of the the PortalManager. We exclude some |
---|
| 25 | permissions by commenting them out. |
---|
[8441] | 26 | """ |
---|
| 27 | |
---|
[8401] | 28 | grok.name('waeup.CRPUOfficer') |
---|
| 29 | grok.title(u'Uniben CRPU Officer') |
---|
[8594] | 30 | grok.permissions('waeup.managePortal', |
---|
| 31 | #'waeup.manageUsers', |
---|
[8401] | 32 | 'waeup.viewAcademics', 'waeup.manageAcademics', |
---|
[8594] | 33 | #'waeup.manageACBatches', |
---|
[8401] | 34 | 'waeup.manageDataCenter', |
---|
[8594] | 35 | #'waeup.importData', |
---|
| 36 | 'waeup.managePortalConfiguration', |
---|
| 37 | 'waeup.viewApplication', |
---|
[8401] | 38 | 'waeup.manageApplication', 'waeup.handleApplication', |
---|
| 39 | 'waeup.viewApplicantsTab', 'waeup.payApplicant', |
---|
[8571] | 40 | 'waeup.viewApplicationStatistics', |
---|
[8401] | 41 | 'waeup.viewStudent', 'waeup.manageStudent', |
---|
| 42 | 'waeup.clearStudent', 'waeup.payStudent', |
---|
| 43 | 'waeup.uploadStudentFile', 'waeup.showStudents', |
---|
| 44 | 'waeup.viewStudentsContainer','waeup.viewStudentsTab', |
---|
| 45 | 'waeup.viewHostels', 'waeup.manageHostels', |
---|
[8594] | 46 | #'waeup.editUser' |
---|
[8571] | 47 | ) |
---|