Commit e38c0114 authored by BERJON Matthieu's avatar BERJON Matthieu

Fix docker login

Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent fe32dd23
......@@ -28,6 +28,8 @@ log = logging.getLogger('allgo')
def get_allowed_actions(user, scope, actions):
allgouser = AllgoUser(user=user)
if not scope:
return []
resource_type, resource_name, resource_actions = scope.split(":")
if resource_type == "repository" and resource_name.rstrip('-incoming') in allgouser.getApp():
return actions
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment