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

OnBehalf of user not working

Hi,

I am creating ram session as below
RAMSession session = new RAMSession(repoURL, adminId, adminPassword, currentRamUser);

I can't ask user to provide username and password. So i am coding with admin username and password, and providing currentuser in onBehalfOf field.

Now if onBehalfOf (currentRamUser) dont have access than given data should not be submitted in RAM. But even if onBehalfOf dont have any access and he is not even registered (ldap access) than also its submitting assets on onBehalfOf user.

Any solution?

0 votes



7 answers

Permanent link
Hello,
Trying to understand the problem you face... You have onBehalfOf set to a user who is not registered and who does not have any permissions to submit an asset - and you are seeing assets being submitted as that user?
Regards,
Srimanth.

0 votes


Permanent link
Exactly :-(


Hello,
Trying to understand the problem you face... You have onBehalfOf set to a user who is not registered and who does not have any permissions to submit an asset - and you are seeing assets being submitted as that user?
Regards,
Srimanth.

0 votes


Permanent link
I am facing the same issue...

Any solution? (Its for RAM 7.2.0.2)


Exactly :-(


Hello,
Trying to understand the problem you face... You have onBehalfOf set to a user who is not registered and who does not have any permissions to submit an asset - and you are seeing assets being submitted as that user?
Regards,
Srimanth.

0 votes


Permanent link
any solution for this?

I am facing the same issue...

Any solution? (Its for RAM 7.2.0.2)


Exactly :-(


Hello,
Trying to understand the problem you face... You have onBehalfOf set to a user who is not registered and who does not have any permissions to submit an asset - and you are seeing assets being submitted as that user?
Regards,
Srimanth.

0 votes


Permanent link
any solution for this?

Exactly :-(


Hello,
Trying to understand the problem you face... You have onBehalfOf set to a user who is not registered and who does not have any permissions to submit an asset - and you are seeing assets being submitted as that user?
Regards,
Srimanth.

0 votes


Permanent link
Hello,
I am unable to reproduce this problem. I set the onBehalfOf userID to someone who has not been registered and has no permissions to submit, and when I try to put in a new asset I get:
- HTTP Error trying to upload. (403: Forbidden), STATUSTEXT:Forbidden, RESPONSE:Error 403: Failed to submit asset - Testing user1 - valid community - ID#1239871322 Version#1.0 - You are not authorized to create assets.
: You are not authorized to create assets.


Could you please verify the user really does not have entitlement in some way? You could go to the web UI as that user and try to submit an asset.
Best regards,
Srimanth.





any solution for this?

Exactly :-(


Hello,
Trying to understand the problem you face... You have onBehalfOf set to a user who is not registered and who does not have any permissions to submit an asset - and you are seeing assets being submitted as that user?
Regards,
Srimanth.

									

0 votes


Permanent link
I have tried it again, and the same problem.

I have also verified that user have no type of access to RAM as you mentioned.

Hello,
I am unable to reproduce this problem. I set the onBehalfOf userID to someone who has not been registered and has no permissions to submit, and when I try to put in a new asset I get:
- HTTP Error trying to upload. (403: Forbidden), STATUSTEXT:Forbidden, RESPONSE:Error 403: Failed to submit asset - Testing user1 - valid community - ID#1239871322 Version#1.0 - You are not authorized to create assets.
: You are not authorized to create assets.


Could you please verify the user really does not have entitlement in some way? You could go to the web UI as that user and try to submit an asset.
Best regards,
Srimanth.





any solution for this?

Exactly :-(


Hello,
Trying to understand the problem you face... You have onBehalfOf set to a user who is not registered and who does not have any permissions to submit an asset - and you are seeing assets being submitted as that user?
Regards,
Srimanth.

									

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

Question asked: Dec 13 '10, 7:06 a.m.

Question was seen: 6,188 times

Last updated: Dec 13 '10, 7:06 a.m.

Confirmation Cancel Confirm