Represents a permission that grants access to a custom feature. This type extends the Metadata metadata type and inherits its name field.
Declarative Metadata File Suffix and Directory Location
Permissions components have the suffix
.permission and are stored in the
permissions folder as additional part of a CustomObject component. The component can represent a custom object or a standard object, such as an account.
Declarative Metadata Sample Definition
A sample yml definition of a list view in a custom object is shown below.