4

How to remove access to tridion user avoid remove pages from publishing queue

We have a User with Default Chief Editor Group and have Access to All publciation and they are able to remove the items from Publishing Queue.

is there a way we can restrict the User to avoid remove pages from publishing queue.

Tridion Version : Tridion 2011 SP1

1 Answer 1

2

The one obvious way would be to remove the publishing permission however doing that will also remove the permission to publish.

As per your description, it seems, you just want to remove permission to remove from publishing queue however not block the publishing for the users of that group.

In such a scenario, you can develop a GUI extension which will disable the option to remove from publishing. In GUI extension you can easily get current user and from that user you can get group membership: reference

Now check if user is part of the group mentioned then disable the option to remove from publishing queue.

As suggested by Nuno, other option is to write event system that will trigger on delete of transaction initiated and will throw excpetion to block the operation.

5
  • Sorry, I did not understand, you want to block permission for testgroup or not.
    – Hiren Kaku
    Commented Oct 10, 2016 at 7:53
  • Thanks Hiren, In one of my production environment, I have a user and added to a group ( TestGroup) and TestGroup is the member of Default Editor Group and have access to only few publication. If you go to the properties of the publication ,they have following rights , Folder,Component,Page,publish to Content Distributor,Virtual Folder, so when I login as this user , go to publishing queue, I see the publishing queue option is disabled.
    – Anand N S
    Commented Oct 10, 2016 at 7:56
  • 2
    Probably even easier would be an event that fires on delete for PublishTransaction, then throw an exception
    – Nuno Linhares
    Commented Oct 10, 2016 at 16:38
  • @NunoLinhares - Yes, agreed. It depends on user experience whether to disable option or to give message when action is performed. Both options seems to be valid.
    – Hiren Kaku
    Commented Oct 10, 2016 at 16:55
  • I'd be careful to ensure you write the group(s) that you want to restrict deletion of publish queue items to be configurable - and perhaps to include specific users also (if your requirement may extend in the future) as it's something that would be easy to add in the beginning. Given that - you could just create a 'unable to delete publish queue items' group ( perphaps a slightly less verbose name would suit too ) - and you could then traverse through group/user memberships and control very easily with a fully-extensible solution) Commented Oct 10, 2016 at 21:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.