Skip to content

Commit 560328a

Browse files
committed
Change solution paths security to correctly apply RBAC restrictions
1 parent 0cf6df6 commit 560328a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/cosmotech/api/security/AbstractSecurityConfiguration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ internal fun endpointSecurityWriters(
271271
customAdmin = customOrganizationAdmin),
272272
CsmSecurityEndpointsRolesWriter(
273273
paths = PATHS_SOLUTIONS,
274-
roles = arrayOf(SCOPE_SOLUTION_WRITE),
274+
roles = arrayOf(ROLE_ORGANIZATION_USER, SCOPE_SOLUTION_WRITE, customOrganizationUser),
275275
customAdmin = customOrganizationAdmin),
276276
CsmSecurityEndpointsRolesWriter(
277277
paths = PATHS_WORKSPACES,

0 commit comments

Comments
 (0)