Red master: ProjectPolicy EE auditor who is not a team member should be disallowed :create_project, :create_issue, :create_note, :upload_file, and :read_release

I think https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23795 caused this failure in EE master:

Failures:

  1) ProjectPolicy EE auditor who is not a team member should be disallowed :create_project, :create_issue, :create_note, :upload_file, and :read_release
     Failure/Error: is_expected.to be_disallowed(*(guest_permissions - auditor_permissions))
       expected `#<ProjectPolicy (@user107 : Project/147)>.disallowed?(:create_project, :create_issue, :create_note, :upload_file, :read_release)` to return true, got false
     # ./spec/policies/project_policy_spec.rb:466:in `block (5 levels) in <top (required)>'

Finished in 13 minutes 42 seconds (files took 13.43 seconds to load)
448 examples, 1 failure, 1 pending

Failed examples:

rspec ./spec/policies/project_policy_spec.rb:462 # ProjectPolicy EE auditor who is not a team member should be disallowed :create_project, :create_issue, :create_note, :upload_file, and :read_release

https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/140148346

/cc @ayufan @nolith

Assignee Loading
Time tracking Loading