It's all about the answers!

Ask a question

What rights should users have to use the configurations query capability from oslc_config catalog?


Catalin Morcan (132) | asked Mar 20 '23, 10:06 a.m.
edited Mar 20 '23, 10:40 a.m.

 Hello


I am trying to access a query capability. But for example, when I type it in my browser it says I do not have permission  to read that item.
Can you help me with what rights to request on the server I am working? The administrator tried giving me rights but it did not work.

The URI I am trying to access looks something like this:

I am authenticated to the server. When I try to open the URI on browser i get this error 
CRJAZ1316E The user "xxxxxxxxx" does not have permission to read item ..., which has the "ProjectArea" item type

2 answers



permanent link
Ralph Schoon (63.5k33646) | answered Mar 20 '23, 10:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Mar 20 '23, 10:37 a.m.

 Please provide the URI's, headers etc. in your question.


In general to access ANY Jazz based item except the rootservices.xml document you have to be authenticated to the server.
Usually you have to have a required license and you have to have access permissions to the project area an item belongs to. 


Comments
Catalin Morcan commented Mar 20 '23, 10:40 a.m.

The URI I am trying to access looks something like this:


I am authenticated to the server. When I try to open the URI on browser i get this error 
CRJAZ1316E The user "xxxxxxxxx" does not have permission to read item ..., which has the "ProjectArea" item type


Ralph Schoon commented Mar 20 '23, 11:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

No headers provided.


The URI that you try to access is not a resource that you should have any access to. I do not know where you got that URI, but the lack of an Item ID already tells you that this is not a resource you should be able to fetch. 

A resource you should be able to get would be https://elm.example.com:9443/qm/oslc_config/catalog and you would have to provide headers to the get Accept: application/rdf+xml, OSLC-Core-Version: 2.0. 


Catalin Morcan commented Mar 21 '23, 2:58 a.m.

 Okey. First I access the root services. Then I go to the https://elm.example.com:9443/qm/oslc_config/catalog.

After that I go in the service provider oslc:ServiceProvider rdf:about="https://elm.example.com/qmA1/oslc_config/serviceProviders/configuration


Catalin Morcan commented Mar 21 '23, 3:00 a.m.

 And in the Service Provider I choose to use the URI https://elm.example.com/qm/oslc_config/resources/com.ibm.team.vvc.ConfigurationThen I get this

CRJAZ1316E The user "MyUser" does not have permission to read item "_WRXHcRhyEeuAwcGzxyOjCg", which has the "ProjectArea" item type
The server administrator told me he gave me corresponding rights, but the issue is still there


permanent link
Ralph Schoon (63.5k33646) | answered Mar 21 '23, 4:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 You do not provide headers, you do not provide any details and your question keeps changing.


Given the correct headers are provided https://elm.example.com:9443/qm/oslc_config/serviceProviders/configuration gets a 200 - I have a JazzAdmin, but I would expect a JazzUser would work as well. Note that the fully qualified host name in the public URI (elm.example.com) must be the correct for your system.

Following that I also get the resource shape for a configuration: https://elm.example.com:9443/qm/oslc_config/resourceShapes/com.ibm.team.vvc.Configuration

Your answer


Register or 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.