This content has been marked as final. Show 4 replies
That is actually a great idea. But I forgot to mention that I only want to prevent the change of properties for certain nodes in the hierarchy. Your approach would disallow property changes for all nodes.
Do you have any idea how to accomplish that?
I'm a bit stuck in a dead end and welcoming any help.
The other way I can think of, is to have a query with conditions that have Node Changed set to True, and the other properties that you reckon shouldn't be changed. Then, call the query from a validation with the class CustPropQuery. Again, this might not work based on the kind of properties you'd like to monitor.
You should consider using Node Types, If you try to accomplish restrciting "certain nodes being updated against certain properties" Node Types is an option,
1. Try to create a Property category
2. Place all those properties which you wish to avoid modifications and assign "READ" access for the users on them
3. Create a Node Type and assign the properties
4. Assign Node Type on those nodes