MASK <id>
| Starts a mask definition, where <id> identifies the mask. Each file can have a single MASK keyword.When compiled, the name of the file will be <id>.SecurityMask . |
MASK DEFAULT |
ENTITY <entity_ name> @inherits | Starts the mask definition for a specific attribute, where: <entity_name> must be a value of the attribute “Name” of the tag “Class” or “Extension” in the metadata file. @inherits specifies that this
entity inherits from its parent's mask.
| ENTITY VPMReference @inherits |
ATTR <attribute> ;< mandatory>;< authorized_ required>;< default value> | Defines the static access control information about an attribute of the entity, where: <attribute> is the value of the attribute "Name" of the tag "Simple" in the .metadata file. Only simple attributes are supported in masks: aggregates and relationships are excluded. | ATTR PLM_ExternalID;Y;N;$ |
mandatory | Specifies if the attribute is required or not. Values:Y if the attribute is required N otherwise
If the attribute is mandatory in .metadata , it must also be set as mandatory in the mask. | |
authorized_ required | Specifies a constraint on the values of this attribute. Values:Y means the values are the only allowed valuesN means the user can set a value other than the ones in the list
| |
default_value | Presets this attribute's value at creation time and can be any value, or $ if value is null. <default_value> cannot be $ if <authorized required> is set to Y.
If authorized values are defined in the mask, the <default_value> MUST BELONG to this list. | |
VALUE <value> | Sets an authorized value for the current attribute. If a list of enumerated values exist in .metadata , the <value> must belong to it. | VALUE Supplier A |
FUNC <operation> | Starts the access control information about a pre-defined <operation> for the current entity.Valid operations are: Create, Write, Read, EZQuery (simple query), Query (extended query), Tree (Tree node id), List. | FUNC Create |
FATTR <attribute> | For the shown <attribute> , specifies if this attribute is modifiable or not. Values:Y means the attribute can be modified in this operationN means it is not modifiable. The attribute must be visible in the current operation, and must previously have been declared using the ATTR keyword.This property is mandatory for any FATTR declarations under any FUNC declarations. This property should be set to: Y for Create, Write, Query and EzqueryN for Read, Tree and List. The order of the FATTR declarations in the FUNC section specifies the order in which the referenced attributes appear in the current operation's view. | FATTR PLMExternalID;Y |