Overview
This document describes how to set the permission of an object from an indirect property (property that does not come directly from this object metadata card.)Solution
On the image below, permission on the Doc1 object is controlled by the "M-Files User" property from the "Project1" metadata card.It will give access on Doc1 to whatever user is selected as M-Files User on the object Project1.
- There are 2 objects (Doc1 from Doc object type and Project1 from Project object type)
- Project1 has M-Files User[bell1] as property on its metadata card.
- From the Doc class, we set automatic permission from the metadata card property [Project.M-Files User] and select the level of permission desired.
