equal
deleted
inserted
replaced
78 |
78 |
79 group_entity = role_description['group'] |
79 group_entity = role_description['group'] |
80 roles = role_description['roles'] |
80 roles = role_description['roles'] |
81 |
81 |
82 if roles.get('host'): |
82 if roles.get('host'): |
|
83 # add a link to create a new program |
|
84 submenu = (redirects.getCreateRedirect(group_entity, |
|
85 {'url_name': 'program'}),"Create a new Program", 'any_access') |
|
86 submenus.append(submenu) |
|
87 |
83 # add a link to the management page |
88 # add a link to the management page |
84 submenu = (redirects.getListRolesRedirect(group_entity, params), |
89 submenu = (redirects.getListRolesRedirect(group_entity, params), |
85 "Manage Program Administrators", 'any_access') |
90 "Manage Program Administrators", 'any_access') |
86 submenus.append(submenu) |
91 submenus.append(submenu) |
87 |
92 |