projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
3112: report issue works for no user and inactive user cases.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
authorized_key.rb
diff --git
a/apps/workbench/app/models/authorized_key.rb
b/apps/workbench/app/models/authorized_key.rb
index c018cc56b04051a442b382c4546f9fea0e253bce..724c996e4a4ef173f432514349921ab249eddf2a 100644
(file)
--- a/
apps/workbench/app/models/authorized_key.rb
+++ b/
apps/workbench/app/models/authorized_key.rb
@@
-1,9
+1,9
@@
class AuthorizedKey < ArvadosBase
- def attribute_editable?
(attr)
+ def attribute_editable?
attr, *args
if attr.to_s == 'authorized_user_uuid'
current_user and current_user.is_admin
else
- super
(attr)
+ super
end
end
end