mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-11 13:53:28 +00:00
fix: perms.signals_handler.on_application_permission_applications_changed 修改名字
This commit is contained in:
parent
54303ea33f
commit
89d8efe0f1
@ -316,7 +316,7 @@ def on_application_permission_user_groups_changed(sender, instance, action, reve
|
|||||||
|
|
||||||
|
|
||||||
@receiver(m2m_changed, sender=ApplicationPermission.applications.through)
|
@receiver(m2m_changed, sender=ApplicationPermission.applications.through)
|
||||||
def on_application_permission_user_groups_changed(sender, instance, action, reverse, pk_set, **kwargs):
|
def on_application_permission_applications_changed(sender, instance, action, reverse, pk_set, **kwargs):
|
||||||
if instance.category != Category.remote_app:
|
if instance.category != Category.remote_app:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user