added some assertions to catch cycles, updated migration

This commit is contained in:
Wayne Witzel III
2016-06-16 15:24:07 -04:00
parent 791589dab8
commit 14809c086d
3 changed files with 20 additions and 2 deletions

View File

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