source: waeup_product/trunk/permissions.py @ 57

Last change on this file since 57 was 19, checked in by joachim, 19 years ago

initial import

  • Property svn:keywords set to Id
File size: 1.3 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: permissions.py 19 2005-09-29 09:34:34Z joachim $
19
20__author__ = "Joachim Schmitz <js@aixtraware.de>"
21
22"""WAeUP Student Permissions
23
24#  - 'Chat Moderate' : Permission you need to moderate the chat
25#
26#  - 'Chat Reply'    : Permission you need to answer question
27#
28#  - 'Chat Post'     : Permission you need to post question
29
30"""
31
32from Products.CMFCore.permissions import setDefaultRoles
33
34#chatModerate = 'Chat Moderate'
35#setDefaultRoles(chatModerate, ('Manager', 'Owner'))
36#
37#chatReply = 'Chat Reply'
38#setDefaultRoles(chatReply, ('Manager', 'Owner'))
39
40#chatPost = 'Chat Post'
41#setDefaultRoles(chatPost, ('Manager', 'Owner'))
Note: See TracBrowser for help on using the repository browser.