Skip to content

Improve ACL implementation#26

Open
arteymix wants to merge 6 commits intomasterfrom
wip/improve-acl-dao
Open

Improve ACL implementation#26
arteymix wants to merge 6 commits intomasterfrom
wip/improve-acl-dao

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