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?
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?
7 answers
I am facing the same issue...
Any solution? (Its for RAM 7.2.0.2)
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.
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.
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:
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.
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.
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.
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.
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.