Doubt about permissions envolving project area and team area
![]() Hello community,
I would like to know if the following behaviour is the correct in RTC and, if so, why?
The scenario is the following: I have a project area with a team area. In the project area there is a scrum master, John, and in the team area there is a team member, Peter.
The scrum Master has permission to create a story workitem, but team member not.
In the project area there is a category associated to the team area.
In the project area, John creates a story workitem and sets the "filed against" to the project area. Everything is Ok.
Later, Peter (member of the team area) tries to set the "filed against" to his team area, but when he clicks on "Save" the following error is showed:
Permission Denied. You don't have permission to perform the following actions:
The workaround to this problem is to set the permission to team member "create the Story workitem". So, here's my doubt:
Why do I have to set the permisson to "create" the workitem if what Peter is trying to do is to modify an attribute (filed against) that he already has the permission?
If someone can help me, I will appreciate a lot. If my explanation is not clear, plesase let me know.
Thanks in advance.
|
One answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Mar 09 '18, 6:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Mar 09 '18, 6:32 a.m. Please run the runtime report for the user in the Eclipseclient on that project area.
For all I know the user Peter has the everyone role for the story incoming to the team area ( in the context of the team area). He only has the team member role in the project area. If the team area overrides the permission settings, then the user needs a role in that team area.
As far as I can tell, there is no role inheritance and the user has only the role everyone/default for objects filed against the team area. I think that is explained in the article I sent. I can not really check es my internet connection is bad. I don’t do this often enough, to know it for sure, but I am fairly certain nonetheless.
If you want Peter to be team member in the team area, then you have to add Peter to the team area and assign the team member role there.
Please check the article and make sure to understand what role the users have where and what process areas govern the permission for an object/own it.
In any case read the article https://jazz.net/library/article/291 and save a link to it for further use.
Comments Hi Ralph, thanks for you contribution. But let me try to explain better...
Peter is a team member only in the team area and he has not the "Everyone" role.
The "Team member" role has not the permission to "create the story", but to modify the "Filed Against" attribute.
The problem is that when Peter tries to change the "Filed Against" to a category associated to the team area he is part of, he cannot change.
You said an important thing previously..."Changing the category and thus changing the owner of the work item might be considered creating the item from the new owners perspective. Owner being the team area." If it's true, so this is the explanation to this behaviour.
My question is "why does Peter need the permission to create if what he is doing is changing an attribute"? This seems to be an incorrect behaviour to me. What do you think?
Since now, thanks you so much.
Hi everybody,
|
Comments
I can see the same symptom in RTC 6.0.5 iFix002. I have the same understanding and am confused as well.
You don’t explain the membership and roles detailed enough. Since I don’t have the time anyway, here is how permissions work
Ralph, the article just doesn't have enough details, particular about team areas. It is interesting to know what permissions are required for just updating the Filed Against attribute. Here is my testing result.
1. Revoke all "Create a work item" and "Modify a work item" for the role "Team Member".
2. Create a team area - all roles inherit permissions from the project area.
3. Add a user to the team area, but not in the project area, and assign the "Team Member" role.
When the user tries to update Filed Against to move the work item out of the team area, the system complains:
Permission Denied. You don't have permission to perform the following actions:
Create a 'Story' work item (create/type/com.ibm.team.apt.workItemType.story)
Modify the work item's subscriptions (modify/subscriptions)
Modify the work item's project area (modify/projectArea)
Modify the work item's 'Filed Against' attribute (modify/category)
Modify the work item's summary (modify/summary)
Remove work item from team area (remove).
When the user tries to update the Filed Against to move the work item into the team area, the system complains:
Permission Denied. You don't have permission to perform the following actions:
Create a 'Story' work item (create/type/com.ibm.team.apt.workItemType.story)
Modify the work item's subscriptions (modify/subscriptions)
Modify the work item's project area (modify/projectArea)
Modify the work item's 'Filed Against' attribute (modify/category)
Modify the work item's summary (modify/summary).
Even "project area" and summary are considered being modified. It is hard to explain.