adi_command: only run create_new_adi() if the user has permission to do so (based on group membership)
This commit is contained in:
parent
69e1771a11
commit
4603bee62c
@ -103,4 +103,5 @@ class AdiCommand:
|
||||
self.create_new_adi(requests)
|
||||
else:
|
||||
self.check_adi_projects()
|
||||
self.create_new_adi(())
|
||||
if self.api.is_user_member_of(self.api.user, 'factory-staging'):
|
||||
self.create_new_adi(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user