Skip to content
Snippets Groups Projects
Commit 7f047ecf authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

WIP: large refactoring to allow cache usage

parent 59c43575
No related branches found
No related tags found
1 merge request!65F permission checks
Pipeline #26223 failed
...@@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
* Minimal changes to the error messages for invalid user names and passwords. * Minimal changes to the error messages for invalid user names and passwords.
* Java query cache is now user specific when necessary. Thus, also more complex
queries are cached than before.
### Deprecated ### Deprecated
...@@ -46,8 +48,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -46,8 +48,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
used. used.
### Security ### Security
* Query cache is now user specific. Thus, intermediate query results are not
reused for users (with potentially other permissions).
## [0.7.3] - 2022-05-03 ## [0.7.3] - 2022-05-03
(Daniel Hornung) (Daniel Hornung)
......
This diff is collapsed.
...@@ -42,7 +42,7 @@ public class QueryTest { ...@@ -42,7 +42,7 @@ public class QueryTest {
String getCacheKey(String query) { String getCacheKey(String query) {
Query q = new Query(query); Query q = new Query(query);
q.parse(); q.parse();
return q.getCacheKey(); return q.getCacheKey(true);
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment