Add access_level attribute to allowed_to_* properties

Add access_level to the allowed_to_* properties of gitlab_branch_protection (allowed_to_push, allowed_to_merge, and allowed_to_unprotect) in order to bring this up to date with the API. This ended up being a breaking change due to the need to limit the use of the push_access_level and merge_access_level attributes to just CE instances, and the allowed_to_* to just EE instances. This resource should now more closely align with the API and allow EE users the ability to update allowed_to_* attributes instead of forcing replacement.

Resolves #6705, #6721

Edited by Mark Nessen

Merge request reports

Loading