fix for the fix

This commit is contained in:
f43nd1r 2018-08-24 06:45:16 +02:00
parent 8baec661a6
commit fc84dbae3b
2 changed files with 4 additions and 4 deletions

View file

@ -127,10 +127,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
.and()
.sessionManagement()
.and()
.antMatcher("/" + RestReportInterface.REPORT_PATH)
.httpBasic()
.and()
.antMatcher("/" + RestApiInterface.API_PATH + "/**")
.regexMatcher("/(" + RestReportInterface.REPORT_PATH + "|" + RestApiInterface.API_PATH + "/.*)")
.httpBasic();
}

View file

@ -619,10 +619,13 @@ databaseChangeLog:
- changeSet:
id: 2018-08-24-fix-permission-key
author: lukas
validCheckSum:
- 7:eb8588c3140f88c4e61d82d6fbe06846
changes:
- addNotNullConstraint:
columnName: app_id
tableName: user_permissions
columnDataType: INT
- addPrimaryKey:
columnNames: user_username, app_id
tableName: user_permissions