Alfresco - Start Replication Job as User (from Dashlet)

93 Views Asked by At

I created a Dashlet in Alfresco Share with an Overwiew of the Replication Jobs. I changed the permissions in the Replication Definition Webscripts from admin to user. As Admin i can start the Replication Job from the Dashlet.

Is it possible to adjust the permissions, that a Site Manager or User can start the Replication Job? I still got a "Access Denied Problem". Where do i have to look at?

Thanks!

2

There are 2 best solutions below

0
On

I changed the authentication to

<authentication runas="admin">user</authentication>

That helped for me.

2
On

No, all the Replication Job WebScripts explicitly require admin privileges so it is not possible to do this out-of-the-box.

If you really want to achieve this then your only option would be to override the relevant WebScripts (essentially copy/paste the defaults) and change the *.desc.xml files to change

<authentication>admin</authentication>

to be

<authentication>user</authentication>

However, that would make them available for any user to run. You would need to further edit the WebScripts to make checks that the user is a member of a specific group.