Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there any API to find Access control details of projectarea?

 Hi,

In RTC project area there is a element called "Access Control".

Which contains the accessing permission to a project area.

This is used to set the access permissions for the users in the project area.

These are the below optional fields are available.

Grant read access to:

Can anyone please help me on this?

0 votes

Comments

Can anyone help me to get any workaround to fetch these details? 



2 answers

Permanent link

 Hello,

These are the project level permissions and user can get errors like com.ibm.team.repository.common.PermissionDeniedException: CRJAZ1319E Read access

is not permitted. The user, bharat, tried to read one or more items that have the following type: WorkItem,baselineset,project area.

You can use PermissionAware API when retrieving the info from project area.

You can refer this link : https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/

0 votes

Comments

 Hi Bharath,


Thanks for your response. But the mentioned API is used to find workitem related information's.

As I mentioned in my query I am looking for the read access for the  project area. 

i.e. which field has been selected kind of information. 

Please let me know if there are any API's to get these information's.

 


Permanent link
 Finally I had found the solution for this.

Hope it might help someone.

If you have the project area instance then follow the below steps,.

ProjectAreaImpl projectAreaImpl = (ProjectAreaImpl) this.projectArea.getWorkingCopy();

    projectAreaImpl.isInternalVisibleToAccessList();
    projectAreaImpl.isInternalVisibleToMembers();
    projectAreaImpl.isInternalPublic();

By using the above method calls you can easily fetch these access control information's.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,220
× 457
× 5

Question asked: May 05 '16, 8:01 a.m.

Question was seen: 3,480 times

Last updated: May 13 '16, 12:19 a.m.

Confirmation Cancel Confirm