Go to Solution.
You can add a "Data acces rule" to the Diagram metaclass.
This data access rule must then be linked to one or more profile and to a macro.
The macro must return 0 or 1 whether you want to allow write access or not (in your case based on the "nature" attribute of the diagram).
That worked great! Thank you so much!