You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all - I am not an OSLC expert, just a user who wants to do something with this package.
Currently I am a user which has access only to some particular QM project areas (not all project areas).
So when trying to find a specific component (which is accessible to me), I use this simple code snipped:
Traceback (most recent call last):
File "c:\XXX\.venv\Lib\site-packages\elmclient\_qm.py", line 296, in find_local_component
self.load_components_and_configurations()
File "c:\XXX\.venv\Lib\site-packages\elmclient\_qm.py", line 112, in load_components_and_configurations
crx = self.execute_get_xml( components_uri, intent="Retrieve component definition" )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\XXX\.venv\Lib\site-packages\elmclient\httpops.py", line 139, in execute_get_xml
response = request.execute( **kwargs )
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\XXX\.venv\Lib\site-packages\elmclient\httpops.py", line 334, in execute
return self._execute_request( no_error_log=no_error_log, close=close, **kwargs )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\XXX\.venv\Lib\site-packages\elmclient\httpops.py", line 343, in _execute_request
result = self._execute_one_request_with_login( no_error_log=no_error_log, close=close, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\XXX\.venv\Lib\site-packages\elmclient\httpops.py", line 624, in _execute_one_request_with_login
response.raise_for_status()
File "c:\XXX\.venv\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://host/qm/oslc_config/resources/com.ibm.team.vvc.Component
When trying to access the URL https://host/qm/oslc_config/resources/com.ibm.team.vvc.Component using my web browser, I get the following error message displayed:
The user "XXX" does not have permission to read item "_xxxxxxxxxxxxxxxxxxxxxxxx", which has the "ProjectArea" item type.
It seems that it querys all components of all project areas - including those which are not accessible for me - for some reason.
Does anybody know how to evade this issue?
The text was updated successfully, but these errors were encountered:
I'm afraid that until you can upgrade to 7.0.3 the only really practicable workaround are to be made a member of every project, or get JazzAdmin privilege :-o
Hi there,
First of all - I am not an OSLC expert, just a user who wants to do something with this package.
Currently I am a user which has access only to some particular QM project areas (not all project areas).
So when trying to find a specific component (which is accessible to me), I use this simple code snipped:
Which throws the following error:
When trying to access the URL
https://host/qm/oslc_config/resources/com.ibm.team.vvc.Component
using my web browser, I get the following error message displayed:The user "XXX" does not have permission to read item "_xxxxxxxxxxxxxxxxxxxxxxxx", which has the "ProjectArea" item type.
It seems that it querys all components of all project areas - including those which are not accessible for me - for some reason.
Does anybody know how to evade this issue?
The text was updated successfully, but these errors were encountered: