fix for the fix
This commit is contained in:
parent
8baec661a6
commit
fc84dbae3b
2 changed files with 4 additions and 4 deletions
|
@ -127,10 +127,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
|
||||||
.and()
|
.and()
|
||||||
.sessionManagement()
|
.sessionManagement()
|
||||||
.and()
|
.and()
|
||||||
.antMatcher("/" + RestReportInterface.REPORT_PATH)
|
.regexMatcher("/(" + RestReportInterface.REPORT_PATH + "|" + RestApiInterface.API_PATH + "/.*)")
|
||||||
.httpBasic()
|
|
||||||
.and()
|
|
||||||
.antMatcher("/" + RestApiInterface.API_PATH + "/**")
|
|
||||||
.httpBasic();
|
.httpBasic();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -619,10 +619,13 @@ databaseChangeLog:
|
||||||
- changeSet:
|
- changeSet:
|
||||||
id: 2018-08-24-fix-permission-key
|
id: 2018-08-24-fix-permission-key
|
||||||
author: lukas
|
author: lukas
|
||||||
|
validCheckSum:
|
||||||
|
- 7:eb8588c3140f88c4e61d82d6fbe06846
|
||||||
changes:
|
changes:
|
||||||
- addNotNullConstraint:
|
- addNotNullConstraint:
|
||||||
columnName: app_id
|
columnName: app_id
|
||||||
tableName: user_permissions
|
tableName: user_permissions
|
||||||
|
columnDataType: INT
|
||||||
- addPrimaryKey:
|
- addPrimaryKey:
|
||||||
columnNames: user_username, app_id
|
columnNames: user_username, app_id
|
||||||
tableName: user_permissions
|
tableName: user_permissions
|
||||||
|
|
Loading…
Reference in a new issue