Ignore:
Timestamp:
17 Nov 2006, 16:06:47 (18 years ago)
Author:
joachim
Message:

cleaned up several things:

  1. the definitions for isManager, isStaff, and isClearanceOfficer

are now independant from eachother only based on roles or groups.
The Manager-Role is the superuser-role,
the is-Scripts document what is what.

since isStaff returns false if the member only has Manager-role,
in .cpsskins_theme it must now be:

if context.isStaff() or context.isManager():

return 'WAeUP_Backoffice'

todo: finish the merge of co_searchStudents and searchStudents

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

Legend:

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

    r874 r885  
    119119  </action>
    120120  <action title="Students" action_id="view_students" category="navigation"
    121      condition_expr="here/isStaff" url_expr="string:${portal_url}/campus/students"
     121     condition_expr="python:here.isStaff() or here.isManager()" url_expr="string:${portal_url}/campus/students"
    122122     visible="True">
    123123   <permission>View</permission>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml

    r883 r885  
    88 <permission>View</permission>
    99 <state state_id="closed" title="">
    10   <exit-transition transition_id="open"/>
     10  <permission-map name="Modify portal content"
     11                  acquired="True">
     12   <permission-role>ClearanceOfficer</permission-role>
     13  </permission-map>
     14 <exit-transition transition_id="open"/>
    1115 </state>
    1216 <state state_id="content_addable" title="">
Note: See TracChangeset for help on using the changeset viewer.