AnsweredAssumed Answered

Cannot invoke webscript as normal user

Question asked by kaffi on Mar 4, 2016
Latest reply on Mar 9, 2016 by kaffi
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

Outcomes