Skip to content

Commit 9266067

Browse files
committed
chore: add a TODO comment
Part of #1149
1 parent cd71782 commit 9266067

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/ru/mystamps/web/support/spring/security/SecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ protected void configure(HttpSecurity http) throws Exception {
105105
ContentSecurityPolicyHeaderWriter cspWriter =
106106
new ContentSecurityPolicyHeaderWriter(useCdn, useSingleHost, hostname, h2ConsolePath);
107107

108+
// @todo #1149 Move feature-specific rules to the dedicated packages
108109
http.authorizeRequests(authorizeRequests -> authorizeRequests
109110
.mvcMatchers(CategoryUrl.ADD_CATEGORY_PAGE).hasAuthority(StringAuthority.CREATE_CATEGORY)
110111
.mvcMatchers(CountryUrl.ADD_COUNTRY_PAGE).hasAuthority(StringAuthority.CREATE_COUNTRY)

0 commit comments

Comments
 (0)