allow org members to see teams in org

This commit is contained in:
AlanCoding
2018-04-02 15:49:10 -04:00
parent 652bdf7875
commit d2ec880cad
2 changed files with 32 additions and 1 deletions

View File

@@ -112,7 +112,7 @@ class Team(CommonModelNameNotUnique, ResourceMixin):
parent_role='admin_role',
)
read_role = ImplicitRoleField(
parent_role=['organization.auditor_role', 'member_role'],
parent_role=['organization.auditor_role', 'organization.member_role', 'member_role'],
)
def get_absolute_url(self, request=None):