1 class Repository < ArvadosModel
4 include CommonApiTemplate
6 api_accessible :user, extend: :common do |t|
13 super || self.name && "git@git.#{Rails.configuration.uuid_prefix}.arvadosapi.com:#{self.name}.git"
22 def permission_to_create
23 current_user and current_user.is_admin
25 def permission_to_update
26 current_user and current_user.is_admin