Overview
You can customize the metadata card with a variety of rules and two notable ones are:- Hiding a certain metadata property (field) from the metadata card - the "Is Hidden" feature.
- Validating the value of a certain metadata property (field) - features like "Set Value", "Is Required".
You should not use these features for sensitive or mission critical information!
Details
The metadata card configuration is set up on the server, but it affects the M-Files client only (web and desktop). It does not enforce any requirements or logic on the server and its data.This means that permissions for the properties you hide are not evaluated on the server, nor is validation performed for them on the server.
There are ways (for example, through public API exposed by M-Files) for the authenticated user to get and/or modify such properties and their values without being affected by the metadata card customizations, even when metadata card rules hide properties from them or require certain values. The server does not hide those properties.
Solution
You should use the metadata card customizations only for visual aids and not to protect, hide or enforce sensitive or important information, because its integrity and access cannot be guaranteed.To ensure correct access to the property and correct validation, you must set such settings in the M-Files Admin in the metadata property definitions - through the Permissions and Validation settings, so that the server evaluates them correctly for every user every time.
You can read more on setting up permissions and validation in the following articles:
