mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
allow org admins to remove labels
This commit is contained in:
@@ -495,7 +495,7 @@ class NotificationAttachMixin(BaseAccess):
|
|||||||
# due to this special case, we use symmetrical logic with attach permission
|
# due to this special case, we use symmetrical logic with attach permission
|
||||||
return self._can_attach(notification_template=sub_obj, resource_obj=obj)
|
return self._can_attach(notification_template=sub_obj, resource_obj=obj)
|
||||||
return super(NotificationAttachMixin, self).can_unattach(
|
return super(NotificationAttachMixin, self).can_unattach(
|
||||||
obj, sub_obj, relationship, relationship, data=data
|
obj, sub_obj, relationship, data=data
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user