It is possible to use a user type field to assign permissions on the documents in a space.
To do this, in the space where we want the specific permissions, you must install the "Set document permissions" operation.
Once installed, edit the parameters:
- Permission: read_file, write_file or admin_file
- Operation: add
- Metadata_name: the name of the associated "User" metadata in a form.
- Additionally, from the advanced you can configure that the related documents inherit the permissions of the main one by means of the parameter 'inherit': True.
Click on save.
Note: The "Use object permissions" option must be configured in the space, because if it is not activated, the permissions that will be configured are the global ones of the space.
The abuse of permissions per document/user is not recommended,
as it makes it difficult to manage and maintain permissions.