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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/students_manager_view.pt

    r805 r885  
    22            portal_status_message options/psm;
    33            students options/students;
    4             is_manager options/is_manager;"
     4            allowed options/allowed|nothing"
    55            >
    66  <metal:body use-macro="here/main_template/macros/master">
     
    1313   
    1414    <metal:main fill-slot="main">
    15       <span tal:condition="not: is_manager">
     15      <span tal:condition="not: allowed">
    1616        <metal:block use-macro="here/error_not_found/macros/not_found" />
    1717      </span>
    18       <span tal:condition="is_manager"
     18      <span tal:condition="allowed"
    1919        tal:define="items students;
    2020        columns python:3;
Note: See TracChangeset for help on using the changeset viewer.