projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add pipeline_instances/compare page
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
node.rb
diff --git
a/apps/workbench/app/models/node.rb
b/apps/workbench/app/models/node.rb
index 048ac59a0a94360cc50e7f4bd1ee4cb9d02e908c..0a324ff5139bb88d5fcd77a65c3b638616182bdd 100644
(file)
--- a/
apps/workbench/app/models/node.rb
+++ b/
apps/workbench/app/models/node.rb
@@
-1,5
+1,7
@@
class Node < ArvadosBase
- attr_accessor :object
+ def self.creatable?
+ current_user and current_user.is_admin
+ end
def friendly_link_name
self.hostname
end