projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first page prototype
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
authorized_key.rb
1
class AuthorizedKey < ArvadosBase
2
def attribute_editable?(attr, ever=nil)
3
if (attr.to_s == 'authorized_user_uuid') and (not ever)
4
current_user.andand.is_admin
5
else
6
super
7
end
8
end
9
10
def self.creatable?
11
current_user
12
end
13
end