source: WAeUP_SRP/trunk/WAeUPPermissions.py @ 530

Last change on this file since 530 was 528, checked in by Henrik Bettermann, 18 years ago

permission added which is needed for the student and the course registration workflows

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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
22"""WAeUP Permissions
23"""
24
25#from AccessControl import ModuleSecurityInfo
26from Products.CMFCore.permissions import setDefaultRoles
27#security = ModuleSecurityInfo('Products.WAeUP.WAeUPPermissions')
28
29#  - 'Certificat Course delete' : Permission you need to ..
30#
31#CertificateCourseDelete = "Certificate Course Delete"
32#setDefaultRoles(CertificateCourseDelete, ('Manager',
33#                               'CourseAdvisor',
34#                               ))
35
36#  - 'Modify Student Object' : Permission you need to ..
37#
38ModifyStudentObject= "Modify Student Object"
39setDefaultRoles(CertificateCourseDelete, ('Manager',
40                               'SectionManager',
41                               ))
42
Note: See TracBrowser for help on using the repository browser.