How to change repository workspace visibility to 'Scoped'
![]()
Huang Sky (11●1●2)
| asked Aug 28 '15, 2:20 a.m.
edited Sep 01 '15, 7:46 a.m. by Ralph Schoon (62.0k●3●36●43)
I wanna change my repository workspace visibility to 'Scoped', but only Public and private could work, if I Choose createAccessGroupScope as my IReadScope, it's always error with message from IDE
iWorkspaceConnection.setOwnerAndVisibility((IAuditableHandle)newContributor, IReadScope.FACTORY.createAccessGroupScope(), monitor);
"The method setOwnerAndVisibility(IAuditableHandle, IReadScope, IProgressMonitor) in the type IWorkspaceConnection is not applicable for the arguments (IAuditableHandle, IAccessGroupScope, IProgressMonitor)"
Does anyone who can help to provide the hint to achieve it, Thanks!
|
2 answers
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Sep 01 '15, 11:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Workspaces can be scoped to
I can't see access groups in the list, so I would not assume that you can use access groups to set the scope.
Comments Hi Schoon:
Through IReadScope api in javadoc, I can't find any IReadScope could help me to select "Scoped - to a project area", is there any idea?
com.ibm.team.scm.common.dto.Interface IReadScope.IReadScopeFactory
com.ibm.team.scm.common.dto.IAccessGroupScope createAccessGroupScope()
IContributorDeferringScope createContributorDeferringScope()
IPrivateScope createPrivateScope()
IProcessAreaScope createProcessAreaScope()
IPublicScope createPublicScope()
ITeamAreaPrivateScope createTeamAreaPrivateScope()
IUnknownScope createUnknownScope()
PS. The doc is base on version 6.0
|