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

FIX: add user string to cache key

parent 20ca271a
No related branches found
No related tags found
1 merge request!65F permission checks
Pipeline #25374 failed
......@@ -1006,12 +1006,16 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
* @return A Cache key.
*/
String getCacheKey() {
final StringBuilder sb = new StringBuilder();
final StringBuilder sb = new StringBuilder();
if (this.user != null) {
sb.append(this.user.toString());
}
if (this.versioned) {
sb.append("versioned");
sb.append("versioned");
}
if (this.role != null) {
sb.append(this.role.toString());
sb.append(this.role.toString());
}
if (this.entity != null) {
sb.append(this.entity.toString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment