mirror of
https://github.com/veops/cmdb.git
synced 2025-08-09 22:26:09 +08:00
fix acl resource_type
This commit is contained in:
@@ -119,6 +119,8 @@ class RoleCRUD(object):
|
||||
|
||||
@staticmethod
|
||||
def update_role(rid, **kwargs):
|
||||
kwargs.pop('app_id', None)
|
||||
|
||||
role = Role.get_by_id(rid) or abort(404, "Role <{0}> does not exist".format(rid))
|
||||
|
||||
RoleCache.clean(rid)
|
||||
|
Reference in New Issue
Block a user