Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/backlogs/lib/open_project/backlogs/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def self.settings
"backlogs/inbox": %i[move reorder move_to_sprint_dialog] },
permissible_on: :project,
require: :member,
dependencies: :view_sprints
dependencies: %i[view_sprints edit_work_packages]

permission :share_sprint,
{ "projects/settings/backlog_sharings": %i[show update] },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
describe "manage_sprint_items" do
subject { described_class.permission(:manage_sprint_items) }

it "depends on view_sprints, add_work_packages, and edit_work_packages" do
expect(subject.dependencies).to contain_exactly(:view_sprints)
it "depends on view_sprints and edit_work_packages" do
expect(subject.dependencies).to contain_exactly(:view_sprints, :edit_work_packages)
end
end

Expand Down
Loading