diff --git a/cmdb-api/api/lib/cmdb/perms.py b/cmdb-api/api/lib/cmdb/perms.py index 7d8d9ee..34f5782 100644 --- a/cmdb-api/api/lib/cmdb/perms.py +++ b/cmdb-api/api/lib/cmdb/perms.py @@ -258,7 +258,7 @@ class CIFilterPermsCRUD(DBMixin): request_id_filter = {} for _id, v in (kwargs.get('id_filter') or {}).items(): - key = ",".join([v['parent_path']] if v.get('parent_path') else [] + [str(_id)]) + key = ",".join(([v['parent_path']] if v.get('parent_path') else []) + [str(_id)]) request_id_filter[key] = v['name'] resource = None