projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '16838-probe-metrics' into master
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
user.rb
diff --git
a/apps/workbench/app/models/user.rb
b/apps/workbench/app/models/user.rb
index 865ff6e9519cacf613b248df446fd4a1e0b24636..34e8181515c887fbe9e09659d09ebee4ab40f24f 100644
(file)
--- a/
apps/workbench/app/models/user.rb
+++ b/
apps/workbench/app/models/user.rb
@@
-109,7
+109,7
@@
class User < ArvadosBase
false
end
-
def self.creatable?
+ def self.creatable?
current_user and current_user.is_admin
-
end
+ end
end