Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-rest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
VOSpace INAF
vospace-rest
Merge requests
!1
Immutable
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Immutable
immutable
into
master
Overview
0
Commits
5
Pipelines
0
Changes
2
Merged
Nicola Fulvio Calabria
requested to merge
immutable
into
master
2 years ago
Overview
0
Commits
5
Pipelines
0
Changes
2
Expand
Add immutable flag to nodes and prevent move and delete of immutable nodes
0
0
Merge request reports
Viewing commit
c7ae8d2e
Prev
Next
Show latest version
2 files
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
c7ae8d2e
fix
· c7ae8d2e
Nicola Fulvio Calabria
authored
2 years ago
src/main/java/it/inaf/oats/vospace/persistence/NodeDAO.java
+
1
−
1
Options
@@ -256,7 +256,7 @@ public class NodeDAO {
+
"((SELECT COUNT(*) FROM (SELECT UNNEST(?) INTERSECT SELECT UNNEST(n.group_write)) AS allowed_groups ) = 0 AND\n"
+
"n.creator_id <> ?) AS is_permission_denied,\n"
+
"n.type = 'container' AS is_container,\n"
+
"n.job_id IS NOT NULL AS busy_state\n"
+
"n.job_id IS NOT NULL AS busy_state
,
\n"
+
"n.immutable AS is_immutable\n"
+
"FROM node n \n"
+
"LEFT JOIN location loc ON loc.location_id = n.location_id\n"
Loading