Skip to content

Commit

Permalink
Merge pull request #13584 from opf/bug/49833-fix-share-calendars-perm…
Browse files Browse the repository at this point in the history
…ission-attributes

[#49833] Fix `share_calendars` permission definition
  • Loading branch information
ulferts committed Aug 30, 2023
2 parents 3a67aec + 75ff44e commit e168980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/calendar/lib/open_project/calendar/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class Engine < ::Rails::Engine
dependencies: %i[view_calendar add_work_packages edit_work_packages save_queries manage_public_queries],
contract_actions: { calendar: %i[create update destroy] }
permission :share_calendars,
{},
dependencies: %i[view_calendar],
contract_actions: { calendar: %i[read] }
end
Expand Down

0 comments on commit e168980

Please sign in to comment.