Community
Participate
Working Groups
An ?Insufficient Permissions? error occurs when synchronizing tasks after upgrading to the 3.1.0 version of the Jira connector. This is possibly related to the changes made for bug 212960.
Created attachment 129781 [details] fix
This affects JIRA Professional 3.13 and later. Unlike the Enterprise edition, the Professional edition does not support security levels. I will commit he fix. Thomas, reassigning to you since we'll need a test case for this. We can look into how to best implement that together.
Just in case : I had the same issue with JIRA Standard Edition 3.13.2 and JIRA Connector 3.1.0. Updating to the weekly build 3.2.0I2009-03-25 of the connector solved the problem.
*** Bug 260972 has been marked as a duplicate of this bug. ***
Created attachment 131538 [details] mylyn/context/zip
The fix doesn't work for me. I'm using Jira Enterprise Edidtion 3.13-#330, HTTP authentication required, with Mylyn JIRA Connector 3.2.0.l20090410-1800-e3x on Eclipse 3.4.1 build M20080911-1700. I still get the "Insufficient permissions" error when I update repository configuration.
This bug only applies to JIRA Professional and Standard Edition. Is your user part of the jira-users group?
Steffen Pingel, Yes, my user is in jira-users. So do you mean there's a different bug with Jira Enterprise Edidtion?
I just tested a Jira Enterprise Edidtion 3.13-#330 with both Mylyn 3.1 as well as the latest from HEAD, on both I could retrieve the repository configuration without an error.
Yes, I suspect a different cause for the problem you are experiencing. Hong, can you please file a separate bug and provide steps to reproduce the problem? Thomas, we'll need a test case for this.
I added a new bug for Jira Enterprise at https://bugs.eclipse.org/bugs/show_bug.cgi?id=273146
Created attachment 136722 [details] patch Testcases for retrieving security levels (one for a privileged and one for an unprivileged user)
Created attachment 136723 [details] mylyn/context/zip
Ok, Test seems to fail today (worked yesterday), so I am not using the right permission settings to trigger the non-retrieval of the securityLevels... Needs more playing around, not sure what the correct setting is
Created attachment 137079 [details] patch It seems that the logout does not work correctly. While the two tests introduced with the latest patch work while running on their own, if ran with the testAvailableGetSecurityLevels test the testProjectSecurityLevelNotAccessible will faile (because the securitylevels are in fact set on the project). Not sure how to solve this here, seems like a lot of work for a minor reason.
Created attachment 137080 [details] mylyn/context/zip
We have bug 277254 for the test failing when run alone... So I guess those test cases should be fine, I removed the privileged user and am using the guest/user levels
Thanks Thomas! Patch applied.