source: waeup_product/trunk/WAeUPPermissions.py @ 267

Last change on this file since 267 was 256, checked in by joachim, 18 years ago

=import from csv

  • Property svn:keywords set to Id
File size: 1.2 KB
RevLine 
[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 256 2006-06-20 10:44:04Z joachim $
19
20__author__ = "Joachim Schmitz <js@aixtraware.de>"
21
[256]22"""WAeUP Permissions
[84]23"""
[19]24
[256]25#from AccessControl import ModuleSecurityInfo
[84]26from 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#
[256]31CertificateCourseDelete = "Certificate Course Delete"
32setDefaultRoles(CertificateCourseDelete, ('Manager',
33                               'CourseAdvisor',
[152]34                               ))
[19]35
Note: See TracBrowser for help on using the repository browser.