Skip to content
Snippets Groups Projects
Commit 3f287269 authored by Semyon Krestyaninov's avatar Semyon Krestyaninov :dog2:
Browse files

Merge branch 'master' into fix/PRXS-3161-FeatureViewCollAccess

parents 38068284 1e3c587c
No related branches found
No related tags found
No related merge requests found
......@@ -309,6 +309,10 @@ func (u *UserPrincipal) Rules(ctx context.Context, spaceID, envID string) permis
return nil
}
if role.AllowManagement {
return permission.PrivilegedRuleset{}
}
if !hasEnvironmentAccess(ctx, u.environments, role, envID) {
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment