app/soc/views/models/org_admin.py
changeset 1184 bd9c6101d41d
parent 1163 d8c50be19232
child 1203 38225f2ad3a6
equal deleted inserted replaced
1183:03db1f6d222a 1184:bd9c6101d41d
    57     rights['accept_invite'] = [('checkCanCreateFromRequest', 'org_admin')]
    57     rights['accept_invite'] = [('checkCanCreateFromRequest', 'org_admin')]
    58     # TODO accessCheck checkIsAdministratorForOrg
    58     # TODO accessCheck checkIsAdministratorForOrg
    59     rights['process_request'] = ['checkIsDeveloper',
    59     rights['process_request'] = ['checkIsDeveloper',
    60         ('checkCanProcessRequest', 'org_admin')]
    60         ('checkCanProcessRequest', 'org_admin')]
    61     rights['manage'] = [
    61     rights['manage'] = [
    62         ('checkIsAllowedToManageRole', [soc.logic.models.org_admin,
    62         ('checkIsAllowedToManageRole', [soc.logic.models.org_admin.logic,
    63              soc.logic.models.org_admin])]
    63              soc.logic.models.org_admin.logic])]
    64 
    64 
    65     new_params = {}
    65     new_params = {}
    66     new_params['logic'] = soc.logic.models.org_admin.logic
    66     new_params['logic'] = soc.logic.models.org_admin.logic
    67     new_params['group_logic'] = org_logic.logic
    67     new_params['group_logic'] = org_logic.logic
    68     new_params['group_view'] = org_view.view
    68     new_params['group_view'] = org_view.view