[closed] Source code protection - again
![](http://jazz.net/_images/myphoto/052d9166a6a8923f80657888b50cf91c.jpg)
I'm sure this has probably been done to death but we don't seem to be able to get it doing what we want.
I have created a project which we want to hold all of our source code for multiple projects. I have created multiple teams all with the parent set to the project.
Each component in this project has a team owner ( the teams are not nested ).
Now, if I add a user to a team I want it so they can ONLY see the components that are owned by that team. What appears to be happening is that they can see any components in that project.
I have looked though the video and can't see what I have missed.
Any ideas?
Many thanks
David
The question has been closed for the following reason: "Other" by davidhoney Apr 04 '23, 5:30 a.m.
4 answers
![](http://jazz.net/_images/myphoto/052d9166a6a8923f80657888b50cf91c.jpg)
remember this, note that you can only specify read access information at
the project area level, not at the team area level).
So you'll have to create a "component access control" project area for
each team. Note that these project areas are only used to define the
access control for the set of components that belong to that team ...
you don't create work items or plans in those project areas.
There is one unfortunate characteristic of the current approach for
component access control ... you have to define your team members twice
.... once in the "planning" project area for that team, and then again in
the "component access control" project area for that team.
I've submitted enhancement request 102270 asking that the team
membership of one project area be available for use when specifying the
access control list of another project area.
Cheers,
Geoff
daviesd wrote:
Hi guys
I'm sure this has probably been done to death but we don't seem to be
able to get it doing what we want.
I have created a project which we want to hold all of our source code
for multiple projects. I have created multiple teams all with the
parent set to the project.
Each component in this project has a team owner ( the teams are not
nested ).
Now, if I add a user to a team I want it so they can ONLY see the
components that are owned by that team. What appears to be happening
is that they can see any components in that project.
I have looked though the video and can't see what I have missed.
Any ideas?
Many thanks
David
![](http://jazz.net/_images/myphoto/052d9166a6a8923f80657888b50cf91c.jpg)
Thanks Geoff.
Would it also make sense to take this a little further and allow component visibility to be decided by team or project afterall, the GUI allows you to pick either. This would allow you to have multiple teams in the same project but with different component access. We often have different types of team working on the same project eg java, rpg etc and it would be great to be able to separate without creating projects all over the place.
cheers
David
![](http://jazz.net/_images/myphoto/052d9166a6a8923f80657888b50cf91c.jpg)
Yes, that would significantly simplify defining access control for
objects like components that can be owned by by a team area. I've
submitted work item 102279 for this.
Cheers,
Geoff
daviesd wrote:
Thanks Geoff.
Would it also make sense to take this a little further and allow
component visibility to be decided by team or project afterall, the
GUI allows you to pick either. This would allow you to have multiple
teams in the same project but with different component access. We
often have different types of team working on the same project eg
java, rpg etc and it would be great to be able to separate without
creating projects all over the place.
cheers
David