mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-23 13:37:31 +00:00
[Update]
This commit is contained in:
parent
8b3b517bab
commit
a31b7a8800
@ -5,7 +5,7 @@ python ../apps/manage.py shell << EOF
|
||||
from perms.models import *
|
||||
|
||||
for old in NodePermission.objects.all():
|
||||
perm = asset_perm_model.objects.using(db_alias).create(
|
||||
perm = AssetPermission.objects.create(
|
||||
name="{}-{}-{}".format(
|
||||
old.node.value,
|
||||
old.user_group.name,
|
||||
|
Loading…
Reference in New Issue
Block a user