Skip to content
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

Setup security permissions for max and timeout #714

Open
basejump opened this issue Aug 9, 2023 · 1 comment
Open

Setup security permissions for max and timeout #714

basejump opened this issue Aug 9, 2023 · 1 comment

Comments

@basejump
Copy link
Member

basejump commented Aug 9, 2023

we need a way to say if a user has access to specific items and not do it by role.
lets try PreQueryEvent

2 use cases that we need out of the gate

max

  • Default max in config should be set to 100
  • Override this for a user

timeout

  • default should be set back to 30s
  • Override this for a user (such as Rob)
  • Should be a check to never be able to exceed 3m (can be a config item)

From original issue:

look into hasAuthority for more fine grained permissions, the 6.0 docs have better docs on it in sprinc sec
https://docs.spring.io/spring-security/reference/5.8/servlet/authorization/expression-based.html
https://docs.spring.io/spring-security/reference/5.8/servlet/authorization/method-security.html

@basejump basejump changed the title get permissions working in security Setup security permissions for max and timeout Apr 30, 2024
@snimavat
Copy link
Contributor

#800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants