AnsweredAssumed Answered

Display documentlibrary action for admins only

Question asked by flm on Apr 15, 2012
Latest reply on Apr 17, 2012 by wabson
Hi,

I am planning to add a "run script for this document"-Action to the Javascript Console extension. This should be an action for documents and folders in the document library that is only available to users that are admins (i.e. everone who can access the admin console). I was looking into custom evaluators and permissions to configure the Share action but I couldn't see any way to do this with the existing permissions.

As far as I can see I would have to override the evaluators.lib.js in the repo and add a new virtual permission but I don't think it would be good for the Javascript Console extension to override that file and possibly break other/future extensions.

Am I missing something or do you have ideas?

Regards,
Florian

Outcomes