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
Branches
No related tags found
1 merge request!65F permission checks
Pipeline #25374 failed
...@@ -1006,12 +1006,16 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac ...@@ -1006,12 +1006,16 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
* @return A Cache key. * @return A Cache key.
*/ */
String getCacheKey() { String getCacheKey() {
final StringBuilder sb = new StringBuilder();
final StringBuilder sb = new StringBuilder();
if (this.user != null) {
sb.append(this.user.toString());
}
if (this.versioned) { if (this.versioned) {
sb.append("versioned"); sb.append("versioned");
} }
if (this.role != null) { if (this.role != null) {
sb.append(this.role.toString()); sb.append(this.role.toString());
} }
if (this.entity != null) { if (this.entity != null) {
sb.append(this.entity.toString()); 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