[19] | 1 | # (C) Copyright 2005 AixtraWare <http://aixtraware.de> |
---|
| 2 | # Author: Joachim Schmitz <js@aixtraware.de> |
---|
| 3 | # |
---|
| 4 | # This program is free software; you can redistribute it and/or modify |
---|
| 5 | # it under the terms of the GNU General Public License version 2 as published |
---|
| 6 | # by the Free Software Foundation. |
---|
| 7 | # |
---|
| 8 | # This program is distributed in the hope that it will be useful, |
---|
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 11 | # GNU General Public License for more details. |
---|
| 12 | # |
---|
| 13 | # You should have received a copy of the GNU General Public License |
---|
| 14 | # along with this program; if not, write to the Free Software |
---|
| 15 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
---|
| 16 | # 02111-1307, USA. |
---|
| 17 | # |
---|
| 18 | # $Id: WAeUPPermissions.py 528 2006-09-18 06:42:02Z henrik $ |
---|
| 19 | |
---|
| 20 | __author__ = "Joachim Schmitz <js@aixtraware.de>" |
---|
| 21 | |
---|
[256] | 22 | """WAeUP Permissions |
---|
[84] | 23 | """ |
---|
[19] | 24 | |
---|
[256] | 25 | #from AccessControl import ModuleSecurityInfo |
---|
[84] | 26 | from Products.CMFCore.permissions import setDefaultRoles |
---|
[256] | 27 | #security = ModuleSecurityInfo('Products.WAeUP.WAeUPPermissions') |
---|
[84] | 28 | |
---|
[256] | 29 | # - 'Certificat Course delete' : Permission you need to .. |
---|
[19] | 30 | # |
---|
[528] | 31 | #CertificateCourseDelete = "Certificate Course Delete" |
---|
| 32 | #setDefaultRoles(CertificateCourseDelete, ('Manager', |
---|
| 33 | # 'CourseAdvisor', |
---|
| 34 | # )) |
---|
| 35 | |
---|
| 36 | # - 'Modify Student Object' : Permission you need to .. |
---|
| 37 | # |
---|
| 38 | ModifyStudentObject= "Modify Student Object" |
---|
| 39 | setDefaultRoles(CertificateCourseDelete, ('Manager', |
---|
| 40 | 'SectionManager', |
---|
[152] | 41 | )) |
---|
[19] | 42 | |
---|