cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot invoke webscript as normal user

kaffi
Confirmed Champ
Confirmed Champ
Hi Guys!

I wrote a script which modifies data and copy it to a folder. As a admin it works without any problems but as normal user I get always an unauthorized exception. The webscript is a java backend script which is called via a custom front end.

I put my descriptor file below:

<xml>
<webscript>
    <shortname>Modify content and copy it to a folder</shortname>
    <description>Modify data</description>
    <url>/api/modifications_script/mod_data_structure?file={file_nodeRef}&amp;destination={destination_nodeRef}</url>
    <format default="json">extension</format>
    <transaction>required</transaction>
    <authentication>user</authentication>
</webscript>
</xml>


Do somebody have an idea?


Best regards
Kaffi
3 REPLIES 3

art99trash
Star Contributor
Star Contributor
Is it possible that the data you are modifying was originally created by admin, and the regular user does not have authority to change it?
So it would no be a webscript issue, just a normal authority issue.

mrogers
Star Contributor
Star Contributor
Yes,  its probably just a permissions issue.  

kaffi
Confirmed Champ
Confirmed Champ
Absolutely you were right!

Thanks!

Best regards!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.