Skip to content

Commit

Permalink
Fix container pull error to make compatible with drf-access-policy (#989
Browse files Browse the repository at this point in the history
) (#990)

drf-access-policy>=1.0.0 requires use of condition_expression when
using boolean logic in access statements

Issue: AAH-940
(cherry picked from commit 880bba6)

Co-authored-by: Andrew Crosby <[email protected]>
  • Loading branch information
patchback[bot] and awcrosby authored Sep 24, 2021
1 parent 899cbe3 commit 50ac048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/940.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix container pull error to make compatible with drf-access-policy update
2 changes: 1 addition & 1 deletion galaxy_ng/app/access_control/statements/pulp_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# "principal": "*",
"principal": "authenticated",
"effect": "allow",
"condition": [
"condition_expression": [
"not is_private",
],
},
Expand Down

0 comments on commit 50ac048

Please sign in to comment.