projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '6146-retry-install' refs #6146
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
keep_disk.rb
diff --git
a/apps/workbench/app/models/keep_disk.rb
b/apps/workbench/app/models/keep_disk.rb
index fd1c06dd745ce49eca3234598c1d6e6d09ad4aad..8ced4eb5f331a3a837ccb6a12a6d34b8374a236b 100644
(file)
--- a/
apps/workbench/app/models/keep_disk.rb
+++ b/
apps/workbench/app/models/keep_disk.rb
@@
-1,2
+1,5
@@
class KeepDisk < ArvadosBase
+ def self.creatable?
+ current_user and current_user.is_admin
+ end
end