mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-13 14:47:46 +00:00
perf: remove application permission
This commit is contained in:
@@ -18,7 +18,7 @@ from assets.models import (
|
||||
CommandFilter, CommandFilterRule, GatheredUser
|
||||
)
|
||||
from applications.models import Application
|
||||
from perms.models import AssetPermission, ApplicationPermission
|
||||
from perms.models import AssetPermission
|
||||
from orgs.utils import current_org, tmp_to_root_org
|
||||
from common.utils import get_logger
|
||||
|
||||
@@ -30,7 +30,7 @@ logger = get_logger(__file__)
|
||||
org_related_models = [
|
||||
User, UserGroup, Asset, Label, Domain, Gateway, Node, SystemUser, Label,
|
||||
CommandFilter, CommandFilterRule, GatheredUser,
|
||||
AssetPermission, ApplicationPermission,
|
||||
AssetPermission,
|
||||
Application,
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user