Ignore:
Timestamp:
6 Apr 2013, 04:53:30 (12 years ago)
Author:
Henrik Bettermann
Message:

Add more local course adviser roles.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.py

    r9645 r10064  
    150150    grok.name('waeup.local.CourseAdviser600')
    151151    grok.title(u'Course Adviser 600L')
     152    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
     153
     154class CourseAdviser700(grok.Role):
     155    """The 700 level course adviser role is meant for the
     156    assignment of dynamic roles only.
     157    """
     158    grok.name('waeup.local.CourseAdviser700')
     159    grok.title(u'Course Adviser 700L')
     160    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
     161
     162class CourseAdviser800(grok.Role):
     163    """The 800 level course adviser role is meant for the
     164    assignment of dynamic roles only.
     165    """
     166    grok.name('waeup.local.CourseAdviser800')
     167    grok.title(u'Course Adviser 800L')
    152168    grok.permissions('waeup.showStudents', 'waeup.viewAcademics')
    153169
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.txt

    r10013 r10064  
    4242
    4343    >>> len(list(get_waeup_roles(also_local=True)))
    44     33
     44    35
    4545
    4646
  • main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.py

    r9940 r10064  
    4949        'waeup.local.CourseAdviser500',
    5050        'waeup.local.CourseAdviser600',
     51        'waeup.local.CourseAdviser700',
     52        'waeup.local.CourseAdviser800',
    5153        ]
    5254
  • main/waeup.kofa/trunk/src/waeup/kofa/university/department.py

    r9797 r10064  
    4949        'waeup.local.CourseAdviser500',
    5050        'waeup.local.CourseAdviser600',
     51        'waeup.local.CourseAdviser700',
     52        'waeup.local.CourseAdviser800',
    5153        ]
    5254
  • main/waeup.kofa/trunk/src/waeup/kofa/university/faculty.py

    r8993 r10064  
    4343        'waeup.local.CourseAdviser500',
    4444        'waeup.local.CourseAdviser600',
     45        'waeup.local.CourseAdviser700',
     46        'waeup.local.CourseAdviser800',
    4547        ]
    4648
Note: See TracChangeset for help on using the changeset viewer.