1 class KeepService < ArvadosModel
4 include CommonApiTemplate
6 api_accessible :user, extend: :common do |t|
9 t.add :service_ssl_flag
13 api_accessible :superuser, :extend => :user do |t|
18 def permission_to_create
19 current_user.andand.is_admin
22 def permission_to_update
23 current_user.andand.is_admin