Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
P-T-I committed Jul 19, 2022
1 parent a8d5852 commit 3317b7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2
2.3
2 changes: 1 addition & 1 deletion spectacles/webapp/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2
2.3
2 changes: 1 addition & 1 deletion spectacles/webapp/helpers/objects/token_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def fetch_user_authorizations(self):
namespaces.name == self.scope_namespace
).first()

if user is not None:
if user is None:
# containerd doesn't forward a user in request, return read only rights
action_dict["actions"] = getattr(repo_rights, "READ")
return action_dict
Expand Down

0 comments on commit 3317b7d

Please sign in to comment.