Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
15fcddf8
Commit
15fcddf8
authored
2 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: removed old comment and styling
parent
78916a06
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!65
F permission checks
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/caosdb/server/query/Query.java
+4
-6
4 additions, 6 deletions
src/main/java/org/caosdb/server/query/Query.java
with
4 additions
and
6 deletions
src/main/java/org/caosdb/server/query/Query.java
+
4
−
6
View file @
15fcddf8
...
...
@@ -826,7 +826,6 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
final
HashMap
<
String
,
Boolean
>
acl_cache
=
new
HashMap
<
String
,
Boolean
>();
final
List
<
Integer
>
toBeDeleted
=
new
LinkedList
<
Integer
>();
// @todo here, we must operate on sql site. only retrieve different permissions
while
(
entities_with_acl
.
next
())
{
final
long
t1
=
System
.
currentTimeMillis
();
final
Integer
id
=
entities_with_acl
.
getInt
(
"id"
);
...
...
@@ -1006,16 +1005,15 @@ 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
());
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
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment