mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
misc cleanup
This commit is contained in:
@@ -91,10 +91,11 @@ class OrganizationsAdminsList(BaseList):
|
||||
class OrganizationsProjectsList(BaseSubList):
|
||||
|
||||
model = Project
|
||||
parent_model = Organization
|
||||
relationship = 'projects'
|
||||
serializer_class = ProjectSerializer
|
||||
permission_classes = (CustomRbac,)
|
||||
|
||||
parent_model = Organization # for sub list
|
||||
relationship = 'projects' # " "
|
||||
|
||||
# I can see the projects from the organization if:
|
||||
# I'm the superuser
|
||||
|
||||
Reference in New Issue
Block a user