Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 179872 - detect if user has permission to edit attributes
Summary: detect if user has permission to edit attributes
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.2   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 203166 (view as bug list)
Depends on:
Blocks: 185498
  Show dependency tree
 
Reported: 2007-03-28 19:13 EDT by Steffen Pingel CLA
Modified: 2007-12-13 22:47 EST (History)
1 user (show)

See Also:


Attachments
mylar/context/zip (4.62 KB, application/octet-stream)
2007-05-04 12:11 EDT, Steffen Pingel CLA
no flags Details
mylyn/context/zip (6.35 KB, application/octet-stream)
2007-12-13 22:47 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2007-03-28 19:13:13 EDT
The JIRA connector uses the EditIssue page to submit changes to the repository. Some users only have permissions to add comments that need to be posted through the AddComments page. This needs to be detected properly.

From bug 174925 comment 2:

I have the same problem too. But in my case comments will be never transmitted, either by changing status nor by leave as is.
I tried it with Jira 3.7.2 and Jira 3.8.
Comment 1 Steffen Pingel CLA 2007-05-04 12:11:43 EDT
Rob, I committed a small change to AbstractRepositoryTaskEditor that selects the option value of an operation (to fix bug 184201).
Comment 2 Steffen Pingel CLA 2007-05-04 12:11:45 EDT
Created attachment 65938 [details]
mylar/context/zip
Comment 3 Steffen Pingel CLA 2007-09-12 18:52:58 EDT
From bug 189209 comment 41:

First of all list of available operations don't available to guests and I just catching exception there. So, still need to test how comment posting is working on projects at the codehaus and spring jira trackers.

From bug 189209 comment 42:

It should work when you use JiraClient.addCommentToIssue() instead of JiraClient.updateIssue().
Comment 4 Steffen Pingel CLA 2007-09-12 18:53:10 EDT
*** Bug 203166 has been marked as a duplicate of this bug. ***
Comment 5 Steffen Pingel CLA 2007-12-13 22:47:16 EST
Added a read-only flag that will cause the issue to get submit through the AddComments page if attributes are not editable.
Comment 6 Steffen Pingel CLA 2007-12-13 22:47:19 EST
Created attachment 85244 [details]
mylyn/context/zip