Skip to content

Commit

Permalink
Move participants_dialog permission to the view_meetings
Browse files Browse the repository at this point in the history
  • Loading branch information
dombesz committed Nov 27, 2023
1 parent 41404d4 commit 415b2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/meeting/lib/open_project/meeting/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Engine < ::Rails::Engine
bundled: true do
project_module :meetings do
permission :view_meetings,
{ meetings: %i[index show download_ics],
{ meetings: %i[index show download_ics participants_dialog],
meeting_agendas: %i[history show diff],
meeting_minutes: %i[history show diff],
work_package_meetings_tab: %i[index count] },
Expand All @@ -52,7 +52,7 @@ class Engine < ::Rails::Engine
contract_actions: { meetings: %i[create] }
permission :edit_meetings,
{
meetings: %i[edit cancel_edit update update_title update_details update_participants participants_dialog],
meetings: %i[edit cancel_edit update update_title update_details update_participants],
work_package_meetings_tab: %i[add_work_package_to_meeting_dialog add_work_package_to_meeting]
},
permissible_on: :project,
Expand Down

0 comments on commit 415b2bc

Please sign in to comment.