mirror of https://github.com/jumpserver/jumpserver
fix: del connect my asset
parent
4e8defc647
commit
faf82d7cfb
|
@ -185,7 +185,6 @@ class PermedAsset(Asset):
|
|||
verbose_name = _('Permed asset')
|
||||
permissions = [
|
||||
('view_myassets', _('Can view my assets')),
|
||||
('connect_myassets', _('Can connect my assets')),
|
||||
('view_userassets', _('Can view user assets')),
|
||||
('view_usergroupassets', _('Can view usergroup assets')),
|
||||
]
|
||||
|
|
|
@ -22,6 +22,8 @@ def clean_db_content_types():
|
|||
ContentType.objects.filter(app_label=app, model=model).delete()
|
||||
|
||||
permissions_delete_required = [
|
||||
('perms', 'permedasset', 'connect_myassets'),
|
||||
|
||||
('perms', 'assetpermission', 'connect_myassets'),
|
||||
('perms', 'assetpermission', 'view_myassets'),
|
||||
('perms', 'assetpermission', 'view_userassets'),
|
||||
|
|
Loading…
Reference in New Issue