Skip to content

Commit

Permalink
[#205] Implement records.allowedRejectMessage property
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Oct 24, 2024
1 parent 02c59ce commit d9f589d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/main/java/cz/cvut/kbss/study/util/ConfigParam.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ public enum ConfigParam {

OIDC_ROLE_CLAIM("oidc.roleClaim"),

CORS_ALLOWED_ORIGINS("cors.allowedOrigins");
CORS_ALLOWED_ORIGINS("cors.allowedOrigins"),

RECORDS_ALLOWED_REJECT_MESSAGE("records.allowedRejectMessage");


private final String name;

Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@ security.provider=internal
oidc.roleClaim=realm_access.roles

# Configures allowed origins for CORS (e.g. http://localhost:3000). Use a comma to separate multiple values
cors.allowedOrigins=
cors.allowedOrigins=

records.allowedRejectMessage=true

0 comments on commit d9f589d

Please sign in to comment.