mknittig / googlecode-mylyn-connector

Automatically exported from code.google.com/p/googlecode-mylyn-connector
0 stars 0 forks source link

Allow anonymous login #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It is support according to the Documentation:
http://code.google.com/p/support/wiki/IssueTrackerAPI#Authentication
An anonymous user cannot create/update issues, we need to consider that.

Original issue reported on code.google.com by mknit...@googlemail.com on 18 Oct 2009 at 8:37

GoogleCodeExporter commented 8 years ago
Fixed in revision rev55. The solution is two fold, relies a lot on Mylyn and 
what other 
connectors do:
- No new issues can be created when the user is not logged in, see 
GoogleCodeRepositoryConnector#canCreateNewTask. This is functionality directly 
provided by Mylyn.
- If a user tried to submit an issue and is not logged in, a corresponding 
exception is 
thrown, see RepositoryUtil#assertLoggedIn. This is again handled by Mylyn in 
AbstractTaskEditorPage#handleSubmitError and causes the repository settings 
page 
to be displayed. This is exactly the same behavior as the Bugzilla connector 
uses 
which is the reference implementation.

Original comment by philippe...@gmail.com on 1 Nov 2009 at 11:47

GoogleCodeExporter commented 8 years ago

Original comment by mknit...@googlemail.com on 22 Mar 2010 at 9:18