Fix Release permission spec
We recently changed the permission model to disallow guests to read Releases. The spec should be updated as well according to the expectation.
This commit is contained in:
parent
6c56bf3186
commit
e3b38ae09d
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ RSpec.shared_context 'ProjectPolicy context' do
|
|||
read_project_for_iids read_issue_iid read_label
|
||||
read_milestone read_project_snippet read_project_member read_note
|
||||
create_project create_issue create_note upload_file create_merge_request_in
|
||||
award_emoji read_release
|
||||
award_emoji
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -24,7 +24,7 @@ RSpec.shared_context 'ProjectPolicy context' do
|
|||
download_code fork_project create_project_snippet update_issue
|
||||
admin_issue admin_label admin_list read_commit_status read_build
|
||||
read_container_image read_pipeline read_environment read_deployment
|
||||
read_merge_request download_wiki_code read_sentry_issue
|
||||
read_merge_request download_wiki_code read_sentry_issue read_release
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue