| Issue 1767: | When an annotated tag push is properly rejected, the error message says "Create Reference" instead of "Push Annotated Tag" | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.5.1-844-g2c75536 as reported by the UI, commit is 2c75536a736c0a5d5431835bd1e67342b1046a20 Jan 3, 2013. What steps will reproduce the problem? 1. Create annotated tag in a gerrit repo 2. Allow create reference, but NOT Push Annotated Tag for that user in project Access in web UI 3. Try to push the annotated tag What is the expected output? What do you see instead? Expected output would be an error that states that the user would need "Push Annotated Tag" permission on this repo. Instead, a confusingly incorrect message is reported: udesktop300:/home/udesktop300/robertb/i86pc/tradelink.cvs/python/marketFeedProxy $ git push Everything up-to-date udesktop300:/home/udesktop300/tradelink.cvs/python/marketFeedProxy $ git push --tags Counting objects: 1, done. Writing objects: 100% (1/1), 233 bytes, done. Total 1 (delta 0), reused 0 (delta 0) remote: Branch refs/tags/MARKETFEEDPROXY_32_8: remote: You are not allowed to perform this operation. remote: To create new references you need 'Create Reference' rights. remote: User: robertb remote: Please read the documentation and contact an administrator remote: if you feel the configuration is incorrect remote: Processing changes: refs: 1, done To ssh://robertb@wkr-git01.trdlnk.com:29418/tradelink/python/marketFeedProxy ! [remote rejected] MARKETFEEDPROXY_32_8 -> MARKETFEEDPROXY_32_8 (prohibited by Gerrit) error: failed to push some refs to 'ssh://robertb@wkr-git01.trdlnk.com:29418/tradelink/python/marketFeedProxy' udesktop300:/home/udesktop300/tradelink.cvs/python
Jan 23, 2013
Project Member
#1
edwin.ke...@gmail.com
Status:
ChangeUnderReview
Jan 23, 2013
(No comment was entered for this change.)
Status:
Submitted
Labels: FixedIn-2.6
Feb 6, 2013
(No comment was entered for this change.)
Labels:
-FixedIn-2.6 FixedIn-2.5.2
Feb 12, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |