This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change Permissions based on Property Metadata

Former Member
Former Member
We are running into some issues with some of our staff Checking Out and editing Templates by mistake.
We would like to restrict all Templates on our server to Read Only, apart from Specific personnel without having to change the Class or Workflow of the Template.
Although it is simple enough to change Permissions Manually, we would like to automate this to ensure as little error as possible.

Is there a simple way to change Permissions on document based on their Metadata?
In this case for example -
if isTemplate = yes, then set permissions to "ACL Read by all, Editable by QMS only"
Parents
  • You can use value list items for automatic permissions but this isn't possible with the "Is template" property since it's a Boolean (and built-in properties might have some additional restrictions as well).

    Is there any existing value list property that you can use to distinguish templates from actual documents? If not, a workaround would be to add a new value list property to the vault with an automatic value based on the "Is template" value (you will need to write a small script for this). This value list property would then drive the automatic permissions. You could additionally hide this property from the users if it's not necessary for them to see it.
Reply
  • You can use value list items for automatic permissions but this isn't possible with the "Is template" property since it's a Boolean (and built-in properties might have some additional restrictions as well).

    Is there any existing value list property that you can use to distinguish templates from actual documents? If not, a workaround would be to add a new value list property to the vault with an automatic value based on the "Is template" value (you will need to write a small script for this). This value list property would then drive the automatic permissions. You could additionally hide this property from the users if it's not necessary for them to see it.
Children
No Data