We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a user customize the authority mapper, the system does not detect any permissions
val grantedAuthorityMapper = SimpleAuthorityMapper() // Ignore ROLE_ prefix grantedAuthorityMapper.setPrefix("")
The source of the problem is this source code, which assumes that rules will always be prefixed with ROLE.
https://github.com/JahnelGroup/jackson-field-security/blob/b12d323/src/main/kotlin/com/jahnelgroup/jackson/security/policy/RoleBasedFieldSecurityPolicy.kt#L19-L21
In my code, just take this automatic insertion to work
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If a user customize the authority mapper, the system does not detect any permissions
The source of the problem is this source code, which assumes that rules will always be prefixed with ROLE.
https://github.com/JahnelGroup/jackson-field-security/blob/b12d323/src/main/kotlin/com/jahnelgroup/jackson/security/policy/RoleBasedFieldSecurityPolicy.kt#L19-L21
In my code, just take this automatic insertion to work
The text was updated successfully, but these errors were encountered: