Skip to content

Commit

Permalink
fix: apply PR #390 to docker-master branch
Browse files Browse the repository at this point in the history
Should also be backported to docker-24.0 branch
  • Loading branch information
jeanpommier committed Oct 9, 2024
1 parent 803fdb7 commit df77a2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gateway/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ georchestra:
access-rules:
- intercept-url: /datafeeder/**
anonymous: false
allowed-roles: SUPERUSER,DATAFEEDER
allowed-roles: SUPERUSER,IMPORT
import:
target: ${georchestra.gateway.services.import.target}
access-rules:
- intercept-url: /import/**
anonymous: false
allowed-roles: SUPERUSER,DATAFEEDER
allowed-roles: SUPERUSER,IMPORT
console:
target: ${georchestra.gateway.services.console.target}
access-rules:
Expand Down
4 changes: 2 additions & 2 deletions security-proxy/security-mappings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<intercept-url pattern="/console/internal/.*" access="ROLE_SUPERUSER" />
<intercept-url pattern="/testPage" access="IS_AUTHENTICATED_FULLY" />
<intercept-url pattern=".*/ogcproxy/.*" access="ROLE_NO_ONE" />
<intercept-url pattern="/datafeeder/.*" access="IS_AUTHENTICATED_FULLY" />
<intercept-url pattern="/import/.*" access="IS_AUTHENTICATED_FULLY" />
<intercept-url pattern="/datafeeder/.*" access="ROLE_SUPERUSER,ROLE_IMPORT" />
<intercept-url pattern="/import/.*" access="ROLE_SUPERUSER,ROLE_IMPORT" />
<intercept-url pattern=".*" access="IS_AUTHENTICATED_ANONYMOUSLY,ROLE_USER,ROLE_GN_EDITOR,ROLE_GN_REVIEWER,ROLE_GN_ADMIN,ROLE_ADMINISTRATOR,ROLE_SUPERUSER,ROLE_ORGADMIN" />
</http>

0 comments on commit df77a2f

Please sign in to comment.