Component with Visibility as "Private" could not be searched
So, if I have created a component with Name as AB_Comp_12 then no other user on that server would be able to create a new component with the same name i.e. AB_Comp_12
Now consider the case, where I set the visibility of AB_Comp_12 as Private. When other user wants to create a new component with AB_Comp_12 name, server will not allow. But, if the other user wants to check, where is the existing component AB_Comp_12 and who is the owner etc. then HOW can he/she get that Information?
Is there any search option to look for components with visibility as Private?
Accepted answer
With RTC v6.0.1, you can now search for components that are private. See the following example in the RTC 6.0.1 New & Noteworthy page: https://jazz.net/downloads/rational-team-concert/releases/6.0.1?p=news#access-groups
using the CLI command,
scm list components --visibility <arg>
where <arg> can be one of the following: public, private, projectarea, teamarea, accessgroup.
Comments
Hello Rosa,
This command helps us to set the visibility of components to Private, Public . . .. access group. What I am looking for is the General Search by a user to locate all components in the repository where visibility is set as Private.
Assuming you search for all private components owned by a user read the CLI description. https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/list_components.html&scope=null
See -c, --contrib <arg> : The user id of the contributor to query about.
Note that you definitely need JazzAdmin repository permissions to search for stuff that your access groups won't allow you to see.
How can i fetch the private components of a particular project instead of fetching across the repository.
One other answer
Comments
With this option, can I search a component which is owned by you and visibility is set as "Private" by you.
This search criteria may help me to locate Private components owned by me but I need to locate a "Private" component owned by you.
Hi Kulvinder
To be precise, you need the Repository Role JazzAdmin to see other persons private objects.