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

13 lines
315 B
Text
Raw Normal View History

2021-04-18 23:19:16 +08:00
# frozen_string_literal: true
json.modal controller.render_to_string(
partial: 'access_permissions/projects/modals/show_modal',
2021-04-18 23:19:16 +08:00
formats: [:html],
locals: {
project: @project,
users: @project.manually_assigned_users,
can_manage_resource: can_manage_project_users?(@project)
},
2021-04-18 23:19:16 +08:00
layout: false
)