Hi,All.
    I am trying to using ReviewBoard 1.0.5.1. I use post-review tool to create 
review requests. I had first created a user account "John1" and give it the 
permission of "reviwes|review request| can submit as another user", Then I 
created another user "John3", The command is:
" post-review --username=John1 --password=John1Pass --submit-as=John3 
--target-people=rbroot --summary=NoSummary -p testfile.txt "
The execution of this command returns:
>>> repository info:...
>>> Looking for ‘192.168.3.20 /’cookie in C:\Documents and 
>>> Settings\Administrator\Local Settings\Application Data 
>>> \.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request for None
>>> Submitting the review request as John3
>>> ....
>>> Review request created
>>> Attempting to set field 'target_people' to 'rbroot' for review request '103'
>>> HTTP POSTing to 
>>> http://192.168.3.20:8080/api/json/reviewrequests/103/draft/set/:{'target-people':
>>>  'rbroot'}
Error creating review request: You don't have permission for this (code 101)
-----------------------------------------------
Is it because I had not set the user John1 as "staff status"? Or is there any 
other reason?
 
Best Regards!
 


 

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to