It's all about the answers!

Ask a question

Does not have permission to read workspace with ID '_UnD_YDMfEeihxbNQVMVfeg'


Nishant Gaurav (156) | asked Feb 18 '20, 12:06 a.m.
I am getting below error :-

Problem Permission denied during "Source Control Operation".  User 'workload' does not have permission to read workspace with ID '_UnD_YDMfEeihxbNQVMVfeg'.
In the 'Repository Workspace' visibility is 'Project Scoped'.

Can anyone help me out to solve this issue ?

Accepted answer


permanent link
David Lafreniere (4.8k7) | answered Feb 19 '20, 10:17 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited Feb 19 '20, 10:18 a.m.
It sounds like you verified the workspace has the correct 'visibility' settings.
One other idea:
Perhaps the code that is retrieving the workspace is trying to find the workspace by name (instead of by idemID), and perhaps there are 2 (or more) identically named repository workspace, and so it might be trying to read a workspace that you are not expecting.
What you can do is navigate to any workspace in the web UI, then change the part of the URL which specifies the workspace itemID and replace it with '_UnD_YDMfEeihxbNQVMVfeg'. That way you can confirm you have the right workspace, with the right visibility settings.
Nishant Gaurav selected this answer as the correct answer

Comments
Nishant Gaurav commented Feb 19 '20, 1:40 p.m. | edited Feb 19 '20, 1:41 p.m.
Hi David,
      Thanks for replying. You are right. I have navigated to one of workspaces in the web UIIts trying to read a workspace that I am not expecting.Then changed the part of the URL which specifies the workspace itemID and replace it with '_UnD_YDMfEeihxbNQVMVfeg'. Its giving the error "User 'workload' does not have permission to read workspace with ID '_UnD_YDMfEeihxbNQVMVfeg' ".Actual ItemID is different than this. There is only one repository with this workspace name. Could you please guide me to solve this issue ?


1
David Lafreniere commented Feb 19 '20, 4:00 p.m. | edited Feb 19 '20, 4:01 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
I would login with an ADMIN user (or work with your server admin) and navigate to that URL, that way you can see what repository workspace it is. This will tell you the name of the workspace, who owns it, and what the visibility settings are. (It's hard to make the claim that "there is only one workspace with this name" if you can't see the name of this workspace :) ).

Also, what code is being used to 'fetch' the workspace anyway?

Nishant Gaurav commented Feb 20 '20, 6:43 a.m.
I tell you from the beginning. We had one functional id earlier. The guy who was owning this functional ID left IBM so that functional ID got deleted. because of that I was not able to trigger the build by using this functional id. Then, we created one new functional id. Added this functional id in our team area.I have created one new workspace and checked out all the codes to this Workspace.This new workspace name is completely different from previous one. 
                             Now, I logged in as an ADMIN(as you suggested) and navigated to the URL. It took me to the repository which I have created by using new Functional ID. New 'functional id' is the owner of this workspace. The visibility setting is 'Public'.
                             I am a Java developer and using Java code in our project.

1
David Lafreniere commented Feb 20 '20, 11:34 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

I guess the question then is what code is running (which reads the workspace), and 'who' is the logged in user that is running that code?


Nishant Gaurav commented Feb 21 '20, 10:24 a.m.

I am completely new to Jazz and I am alone handling this project . Could you please tell me how can I find what code is running and who is the logged in user ? 


Ralph Schoon commented Feb 21 '20, 10:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What is running against the server? A build? Build Definition? Jenkins? Jazz Build Engine? Where is that started? What passwords are used there? This is basically all we need to understand to help.Somewhere, there is an automation running that accesses the repository workspace and it does not have access.

Unless yu can provide more information we can't help, really. If the question is not answered, please uncheck the accept .

PS: you can, as an Administrator, change the owner of a repository workspace. So if the owner moves ahead, you can change the owner of existing workspaces if needed.


Ralph Schoon commented Feb 21 '20, 11:05 a.m. | edited Feb 21 '20, 11:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You can drop me an e-mail to ralph.schoon@de.ibm.com and we can maybe try a quick call non Monday to get you on the right tack if possible.


Nishant Gaurav commented Feb 21 '20, 11:27 p.m.

Sure Ralph !

showing 5 of 8 show 3 more comments

2 other answers



permanent link
Ralph Schoon (63.1k33646) | answered Feb 24 '20, 8:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The problems where
1. A repository workspace was a flow target of another repository workspace.
2. The pending changes view referenced a loaded repository workspace where the user had no read/write access.

permanent link
Ralph Schoon (63.1k33646) | answered Feb 18 '20, 1:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What about the project areas access control for that user?
Can the user access any (their own) repository workspace?
What if you make the repo-ws publically visible?
Why tags such as jazz-foundation, jazz.net, rational-asset-manager?


Comments
Nishant Gaurav commented Feb 18 '20, 2:13 a.m. | edited Feb 19 '20, 6:53 a.m.
Hi Ralph,

    Project areas access control for this user is 'Member of the project area hierarchy'.

    User can access their own repository workspace.
 
   I made the repo-ws publicly visible and its giving the same error.



Ralph Schoon commented Feb 19 '20, 6:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I don't know what could cause this.

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.