-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 4.6.2
-
Component/s: API - REST, Enterprise, Repository - Branch Permissions
-
None
Summary
Branch/ref permissions are not respected by the Tags REST API.
Steps to Reproduce
- Create a simple restriction to disable tags, e.g.: refs/tags/**
- Try to create a tag via a normal git push
- Try to create a tag via the REST API
Expected Results
- Both the git push and the API call should fail
Actual Results
- The git push fails, however the API call bypasses the branch permissions and succeeds
Workaround
n/a