Unable to push to a protected branch as owner

Hi Forum,

I have a question: When I try to push local changes to GitLab as Owner (the master-branch is protected) it fails with the following error message:

remote: GitLab: You are not allowed to push code to protected branches on this project.
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ...

According to https://docs.gitlab.com/ee/user/permissions.html it should be possible. I’m using GitLab Community Edition [11.8.2].

Is there a setting in the background which needs to be enabled?

Best Regards

I recently had the same issue.
Pushing to protected branch as group owner is declined, if only mainters are allowed to push.