Ignore:
Timestamp:
22 Oct 2005, 13:43:45 (19 years ago)
Author:
joachim
Message:

=faculty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/permissions.py

    r19 r80  
    2222"""WAeUP Student Permissions
    2323
    24 #  - 'Chat Moderate' : Permission you need to moderate the chat
     24#  - 'University Manage' : Permission you need to manage a University
    2525#
    26 #  - 'Chat Reply'    : Permission you need to answer question
     26#  - 'Faculty Manage' : Permission you need to manage a Faculty
    2727#
    28 #  - 'Chat Post'     : Permission you need to post question
     28#  - 'Department Manage' : Permission you need to manage a Department
     29#
    2930
    3031"""
     
    3233from Products.CMFCore.permissions import setDefaultRoles
    3334
    34 #chatModerate = 'Chat Moderate'
    35 #setDefaultRoles(chatModerate, ('Manager', 'Owner'))
    36 #
    37 #chatReply = 'Chat Reply'
    38 #setDefaultRoles(chatReply, ('Manager', 'Owner'))
     35universityManage = "University Manage"
     36setDefaultRoles(universityManage, ('Manager', 'Owner'))
     37facultyManage = "Faculty Manage"
     38setDefaultRoles(facultyManage, ('Manager', 'Owner'))
     39departmentManage = "Department Manage"
     40setDefaultRoles(departmentManage, ('Manager', 'Owner'))
    3941
    40 #chatPost = 'Chat Post'
    41 #setDefaultRoles(chatPost, ('Manager', 'Owner'))
Note: See TracChangeset for help on using the changeset viewer.