projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15028-cwl-v1.1' refs #15028
[arvados.git]
/
services
/
api
/
app
/
controllers
/
database_controller.rb
diff --git
a/services/api/app/controllers/database_controller.rb
b/services/api/app/controllers/database_controller.rb
index 0f0599d99a9b1f5fcb69858f5a0f0161d39c16c8..b618a321e5d7578665141df4876a98a5bf872d59 100644
(file)
--- a/
services/api/app/controllers/database_controller.rb
+++ b/
services/api/app/controllers/database_controller.rb
@@
-3,9
+3,9
@@
# SPDX-License-Identifier: AGPL-3.0
class DatabaseController < ApplicationController
# SPDX-License-Identifier: AGPL-3.0
class DatabaseController < ApplicationController
- skip_before_
filter
:find_object_by_uuid
- skip_before_
filter
:render_404_if_no_object
- before_
filter
:admin_required
+ skip_before_
action
:find_object_by_uuid
+ skip_before_
action
:render_404_if_no_object
+ before_
action
:admin_required
def reset
raise ArvadosModel::PermissionDeniedError unless Rails.env == 'test'
def reset
raise ArvadosModel::PermissionDeniedError unless Rails.env == 'test'
@@
-75,6
+75,10
@@
class DatabaseController < ApplicationController
raise
end
raise
end
+ require 'refresh_permission_view'
+
+ refresh_permission_view
+
# Done.
send_json success: true
end
# Done.
send_json success: true
end