Skip to content

Commit

Permalink
Merge pull request #154 from MOV-AI/dev
Browse files Browse the repository at this point in the history
removing rewrite to the apps permission (#153)
  • Loading branch information
Mograbi authored Jun 5, 2023
2 parents 7f195ea + 0d7d4fa commit 8d03de8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dal/models/acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def get_permissions() -> Dict:
resources_permissions[scope] = NewACLManager._DEFAULT_PERMISSIONS

# Applications
resources_permissions["Applications"] = [
item["ref"] for item in scopes().list_scopes(scope="Application")
]
apps = [item["ref"] for item in scopes().list_scopes(scope="Application")]

resources_permissions["Applications"] += apps

return resources_permissions

0 comments on commit 8d03de8

Please sign in to comment.