Changeset 13570


Ignore:
Timestamp:
7 Jan 2016, 15:26:07 (9 years ago)
Author:
Henrik Bettermann
Message:

Add further permissions to the local ApplicationsManager? role and
make it assignable at applicants container level.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r13493 r13570  
    441.3.4.dev0 (unreleased)
    55=======================
     6
     7* Add further permissions to the local ApplicationsManager role and
     8  make it assignable at applicants container level.
    69
    710* Disable rendering of HTML tags in fullnames.
  • main/waeup.kofa/trunk/docs/source/userdocs/applicants/interfaces.rst

    r13229 r13570  
    4444`description_dict` contains the same information as the
    4545`description`, but the sequence of language translations has been
    46 split up and copied into a dictionary for faster processing. In the
    47 base package, `local_roles` is an empty list which means, no local
    48 role can be assigned at applicants container level.
     46split up and copied into a dictionary for faster processing.
    4947
    5048Crucial for application are the `prefix`, `year`, `mode` and
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/container.py

    r13217 r13570  
    5656    description_dict = {}
    5757
    58     local_roles = []
     58    local_roles = [
     59        'waeup.local.ApplicationsManager',
     60        ]
    5961
    6062    def addApplicant(self, applicant):
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.py

    r13046 r13570  
    166166
    167167class ApplicationsManager(grok.Role):
    168     """The local ApplicationsManager role can be assigned at department level.
    169     Local Applications Managers do not gain further permissions. This role is
    170     meant for the assignment of dynamic roles only, see below.
     168    """The local ApplicationsManager role can be assigned at applicants
     169    container and at department level. At department level an Applications
     170    Manager can manage all applicants which desire to study a programme
     171    offered by the department (1st Choice Course of Study).
     172
     173    At container level (local) Applications Managers gain permissions
     174    which allow to manage the container and all applicants inside the container.
     175    At container level the permission set of this local role corresonds with
     176    the permission set of the same-named global role.
    171177    """
    172178    grok.name('waeup.local.ApplicationsManager')
    173179    grok.title(u'Applications Manager')
    174     grok.permissions('waeup.viewAcademics')
     180    grok.permissions('waeup.viewAcademics',
     181                     'waeup.manageApplication', 'waeup.viewApplication',
     182                     'waeup.payApplicant')
    175183
    176184class DepartmentManager(grok.Role):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r13480 r13570  
    14031403        tabledata = []
    14041404        tableheader = []
    1405         contenttitle = []
    14061405        for i in range(1,7):
    14071406            tabledata.append(sorted(
Note: See TracChangeset for help on using the changeset viewer.