imi-ms / MoPat

Mobile Patient Survey (MoPat) is a Java based web application to create, distribute, complete and export medical questionnaires.
Apache License 2.0
8 stars 1 forks source link

Disable ACL caching #68

Closed ywarnecke closed 1 week ago

ywarnecke commented 2 months ago

ACL caching currently does not work reliably.

Sometimes users can see no bundles, when starting a new survey, although the rights exist. It is then required to delete the cache manually or to toggle a reload by changing the acl entry table.

It would be better to disable the caching mechanism entirely to achieve a stable and reliable application behavior.

ywarnecke commented 2 months ago

Implemented custom NoOpAclCache to disable caching mechanism. The new Cache always returns null and saves no entry, therefore causing Spring to always request the newest information

ywarnecke commented 1 week ago

Merged with #69