Ignore:
Timestamp:
7 Nov 2006, 12:42:13 (18 years ago)
Author:
joachim
Message:

fixed anonymous view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/isManager.py

    r603 r787  
    2323roles = member.getRoles()
    2424isStudent = "Student" in roles
    25 isStaff = not isStudent
     25isStaff = not isStudent and not mtool.isAnonymousUser()
    2626#isManager = "Manager" in roles or "SectionManager" in roles or isStaff
    2727isManager = isStaff
Note: See TracChangeset for help on using the changeset viewer.