Make single definition of defaultRolePrefix and rolePrefix#3956
Make single definition of defaultRolePrefix and rolePrefix#3956eddumelendez wants to merge 1 commit intospring-projects:masterfrom
defaultRolePrefix and rolePrefix#3956Conversation
|
@rwinch is it ok to replace all classes involved in this commit? Early feedback is welcome. Thanks in advance. |
|
@eddumelendez Thanks for the PR! I think I'd prefer that any of the domain object avoid adding |
|
@rwinch Thanks for feedback.
Just to clarify, you meant |
|
@eddumelendez Thanks for the fast response. I mean unless a class is in the For now we should not add |
20a469f to
9915d1f
Compare
Previous to this commit, role prefix had to be set in every class causing repetition. Now, bean `GrantedAuthorityDefaults` can be used to define the role prefix in a single point. Fixes spring-projectsgh-3701
9915d1f to
5ae8e1d
Compare
|
@rwinch PR has been updated |
|
Thanks for the PR! This is merged via eabeaf3 I applied some Polish in b443bae for your review. The main goal was to continue with the suggestion from #3956 (comment) |
Previous to this commit, role prefix had to be set in every class
causing repetition. Now, bean
GrantedAuthorityDefaultscan be used todefine the role prefix in a single point.
Fixes gh-3701