projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
18995: Merge branch 'main' into 18995-code-cleanup-5
[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..c4b273c6b81e81cbcccd0034ee1aff1bf5a07424 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?
- current_user
and current_user
.is_admin
-
end
+ def self.creatable?
+ current_user
.andand
.is_admin
+ end
end