Optimized viewable user list, fixed up some project readability bugs

This commit is contained in:
Akita Noek
2016-04-18 11:28:46 -04:00
parent 8b67f1d1c6
commit 878455187f
4 changed files with 23 additions and 15 deletions

View File

@@ -241,17 +241,16 @@ class Project(UnifiedJobTemplate, ProjectOptions, ResourceMixin):
role_description='Implies membership within this project',
parent_role='admin_role',
)
read_role = ImplicitRoleField(
role_name='Project Read Access',
role_description='Read access to this project',
parent_role='member_role',
)
scm_update_role = ImplicitRoleField(
role_name='Project Updater',
role_description='May update this project from the source control management system',
parent_role='admin_role',
)
read_role = ImplicitRoleField(
role_name='Project Read Access',
role_description='Read access to this project',
parent_role=['member_role', 'auditor_role', 'scm_update_role'],
)
@classmethod
def _get_unified_job_class(cls):