-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed administrator role change permission #453
base: sprint-9
Are you sure you want to change the base?
Conversation
@@ -59,9 +59,6 @@ public class WebSecurityConfig { | |||
@Value("${spring.h2.console.enabled:false}") | |||
private boolean h2ConsoleEnabled; | |||
|
|||
@Value("${server.servlet.session.cookie.domain:library.tamu.edu}") | |||
private String domainName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please restore and override in properties for development.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes made, please review and verify.
@@ -151,8 +148,6 @@ public CookieSerializer cookieSerializer() { | |||
serializer.setUseSecureCookie(false); | |||
serializer.setCookiePath("/"); | |||
serializer.setCookieName("SESSION"); | |||
serializer.setDomainName(domainName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please restore and override in properties for development.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes made, please review and verify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you provide a description of why the domainName
property needs to be removed?
I am not understanding how that change relates to the path role permission change.
I suggest restoring the domainName
properties.
Description
Resolves #452
Removed ability for
administrators
to modify a given users role.