Skip to content

Change the order of the access rules to check simpler first, and add specs

username-removed-367626 requested to merge change-access-update into master

What does this MR do?

Change the order of the access rules to check simpler first, and add specs

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

The specs added here cover the CE behaviour. These specs are expanded to cover EE behaviour for the changes in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/647

What are the relevant issue numbers?

#14280 (closed)

Does this MR meet the acceptance criteria?

Merge request reports