AnsweredAssumed Answered

Custom DocLib Publish Action

Question asked by lungpow on Jun 2, 2014
Latest reply on Jun 6, 2014 by lungpow
I have created a doclib action, backed by a webscript which uses a custom publishing channel to publish content. This channel is configured just like the other channels e.g. facebook, linkedin, etc.

My action does NOT respect the permissions that are configured on the publishing channel. e.g. say you created a group and then applied the group to the channel and removed the inherit and everyone so only members of the group can publish.

The default Publish action in the doclib seems to respect the permissions configured in/on the Channel. i.e it will not show you the channel if you are not part of the group. Any ideas how this works or how I can apply this to my custom action?

I was thinking to use an evaluator but beyond that I am not sure how to move forward. I have been looking at the JS that is called by the publish action but it's not clear how the channel permissions are determined?