Ignore:
Timestamp:
25 Nov 2006, 09:00:34 (18 years ago)
Author:
Henrik Bettermann
Message:

setup SectionOfficer? role

Location:
WAeUP_SRP/trunk/profiles/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r924 r937  
    44  <action title="Search Members" action_id="member_view" category="user"
    55     condition_expr="member"
    6      url_expr="string:${portal_url}/search_members_form"
    7      visible="False">
     6     url_expr="string:${portal_url}/search_members_form" visible="False">
    87   <permission>View</permission>
    98  </action>
     
    10099  <action title="Portal Members" action_id="members" category="global"
    101100     condition_expr="member"
    102      url_expr="string:${portal_url}/search_members_form"
    103      visible="True">
     101     url_expr="string:${portal_url}/search_members_form" visible="True">
    104102   <permission>Modify portal content</permission>
    105103  </action>
     
    119117  </action>
    120118  <action title="Students" action_id="view_students" category="navigation"
    121      condition_expr="python:here.isStaff()" url_expr="string:${portal_url}/campus/students"
    122      visible="True">
     119     condition_expr="python:portal.campus.students.isStaff()"
     120     url_expr="string:${portal_url}/campus/students" visible="True">
    123121   <permission>View</permission>
    124122  </action>
    125123  <action title="PINs" action_id="view_pins" category="navigation"
    126      condition_expr="member" url_expr="string:${portal_url}/campus/pins"
    127      visible="True">
    128    <permission>Modify portal content</permission>
     124     condition_expr="python:portal.campus.pins.isSectionOfficer()"
     125     url_expr="string:${portal_url}/campus/pins" visible="True">
     126   <permission>View</permission>
    129127  </action>
    130128  <action title="Contact" action_id="contact_admin" category="navigation"
    131      condition_expr="member" url_expr="string:${portal_url}/contact_admin_form" visible="True">
     129     condition_expr="member"
     130     url_expr="string:${portal_url}/contact_admin_form" visible="True">
    132131   <permission>View</permission>
    133132  </action>
    134133  <action title="Support" action_id="support" category="student_navigation"
    135      condition_expr="member" url_expr="string:${portal_url}/support_form" visible="True">
     134     condition_expr="member" url_expr="string:${portal_url}/support_form"
     135     visible="True">
    136136   <permission>View</permission>
    137137  </action>
     
    160160   <permission>View</permission>
    161161  </action>
    162 
    163162  <action title="My Accommodation" action_id="reserve_accommodation"
    164163     category="student_navigation" condition_expr="member"
    165164     url_expr="string:${portal_url}/reserve_accommodation" visible="True"/>
    166    <permission>View</permission>
    167 
    168165  <action title="Register Courses" action_id="register_courses"
    169166     category="student" condition_expr="member"
    170167     url_expr="string:${portal_url}/register_courses" visible="False"/>
    171    <permission>View</permission>
    172 
    173168  <action title="Home" action_id="students_home" category="student_navigation"
    174169     condition_expr="member" url_expr="string:${portal_url}" visible="True">
  • WAeUP_SRP/trunk/profiles/default/rolemap.xml

    r899 r937  
    1414      <role name="SectionOfficer"/>
    1515    </permission>
     16    <permission name="View" acquire="True">
     17      <role name="SectionManager"/>
     18      <role name="SectionReader"/>
     19      <role name="SectionOfficer"/>
     20    </permission>   
    1621    <permission name="Add portal content" acquire="True">
    1722      <role name="SectionManager"/>
     
    3641    <permission name="List portal members" acquire="True">
    3742      <role name="SectionManager"/>
     43      <role name="SectionOfficer"/>
    3844    </permission>
    3945    <permission name="Review portal content" acquire="True">
Note: See TracChangeset for help on using the changeset viewer.