--username is for authenticating to the review board server. --submit-as is for impersonating another user (assuming the authenticated user has the right permissions) after authentication.
The aforementioned scenario (having a post-commit hook or CI task) to post review requests on behalf of others is the use case for --submit-as. -David On Wed, Apr 29, 2015 at 3:42 PM Steve <[email protected]> wrote: > Which makes me wonder - what is the difference between the --username and > --submit-as options? > > --Steve > > > On Tuesday, April 28, 2015 at 11:11:13 PM UTC-7, MoonWalker wrote: >> >> Found it :-). Seems like --submit-as <username> will do the trick >> >> On Wednesday, April 29, 2015 at 3:19:39 PM UTC+10, MoonWalker wrote: >>> >>> We are using Jenkins in our CI, and we have a job that takes care of >>> doing some testing and if everything goes well a review will be posted in >>> Reviewboard (2.0.15). Everything seems okay, the issue that I am facing is >>> that I had to create a new user in RB called jenkins and the user that >>> trigger the job is not able to modify the review because he was not the >>> direct submitter. Is there any way to make a group capable to modify by >>> default any review that targets the group?. >>> >> -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
