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

Improve ACL implementation #26

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Improve ACL implementation #26

wants to merge 6 commits into from

Conversation

arteymix
Copy link
Member

Take advantage of eager fetching and second-level cache for ACLs

Avoid querying the database in AclDao, models are already eagerly fetched, so querying is pointless.

Remove ACL cache, ACLs are already stored in the second-level cache.

Use Spring-supplied ACL implementation

@arteymix arteymix force-pushed the wip/improve-acl-dao branch 4 times, most recently from e416e6f to e9cf135 Compare September 28, 2023 19:15
Take advantage of eager fetching and second-level cache for ACLs

Avoid querying the database in AclDao, models are already eagerly
fetched, so querying is pointless.

Remove ACL cache, ACLs are already stored in the second-level cache.

Use Spring-supplied ACL implementation
@arteymix
Copy link
Member Author

It's pretty much completed now. I need to do more testing with Gemma before merging.

@arteymix
Copy link
Member Author

The natural ID for object identity should be marked as immutable. We can also enable cache for natural IDs albeit there is no XML support for that.

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

Successfully merging this pull request may close these issues.

1 participant