Skip to content

Commit

Permalink
[#50831] Error on the work package meetings tab not clear enough for …
Browse files Browse the repository at this point in the history
…users without Manage agendas permission

https://community.openproject.org/work_packages/50831
  • Loading branch information
dombesz authored and oliverguenther committed Nov 16, 2023
1 parent 40fe4d4 commit 4eb61e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def initialize(work_package:)
private

def allowed_to_add_to_meeting?
User.current.allowed_in_project?(:edit_meetings, @work_package.project)
User.current.allowed_in_project?(:manage_agendas, @work_package.project)
end
end
end

0 comments on commit 4eb61e9

Please sign in to comment.