projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
5417: add "unreadable inputs provided" visual cue for an editable pipeline instance.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
repository.rb
1
class Repository < ArvadosBase
2
def self.creatable?
3
current_user and current_user.is_admin
4
end
5
def attributes_for_display
6
super.reject { |x| x[0] == 'fetch_url' }
7
end
8
def editable_attributes
9
if current_user.is_admin
10
super
11
else
12
[]
13
end
14
end
15
end