scinote-web/app/views/access_permissions/protocols/show.json.jbuilder

13 lines
312 B
Text
Raw Normal View History

# frozen_string_literal: true
json.modal controller.render_to_string(
partial: 'access_permissions/protocols/modals/show_modal',
formats: [:html],
locals: {
protocol: @protocol,
2023-01-03 21:43:03 +08:00
users: @protocol.assigned_users,
can_manage_resource: can_manage_protocol_users?(@protocol)
},
layout: false
)