--- title: "Has permission" slug: "frebehav-has-permission" updated: 2026-05-04T07:51:24Z published: 2026-05-04T07:51:24Z canonical: "docs.lobstersoftware.com/frebehav-has-permission" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Has permission > [!NOTE] > The **Behavior type** [Has permission](?c1753032354612#) checks in the context of a form the authorizations of the [Role of session](/v1/docs/en/base-session-role-value) against a positive list in the **Permissions** parameter. ![images/download/attachments/177914242/image-2024-9-26_15-31-44-version-1-modificationdate-1727357503433-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-9-26_15-31-44-version-1-modificationdate-1727357503433-api-v2.png) Regardless of the result of the check, any input data (`$input`) of the behavior is passed on to the actions: - **Actions on "true"** will be performed if the role used in the current session grants at least one of the **Permissions** listed in rows. - **Actions on "false"** will be performed if none of the listed **Permissions** are granted by the role used in the current session. > [!WARNING] > **IMPORTANT:** > > The check only refers to the general state of a permission that is defined by the [Role](/v1/docs/en/base-role-value). The influence of [Company authorizations](/v1/docs/en/base-company-release) in connection with ownership and involvement in a specific object is therefore not reflected in the check result. If the [Role of session](/v1/docs/en/base-session-role-value) allows the deletion of [Shipments](/v1/docs/en/shp-shipment), then the check result regarding "Delete" (`delete`) is also positive if a shipment is selected in the entry form, which the [Company of session](/v1/docs/en/base-session-company-account-value) is allowed to read but may not delete due to lack of company authorization or involvement. Editing the "Permissions" parameter: The parameter is designed as a multi-line, scalable text field in which each row must represent a *relative* or *absolute* permission path in the system’s internal notation. - *Absolute* paths define an unbroken chain of nodes in the permission hierarchy that begins at the root (that is, with a slash "/"). - *Relative* paths can only be used in the context of an entry form. Then, the *permission node* for the respective entity type serves as the point of origin for a single or multi-level path. - Both types of paths can end not only with the name of an individual permission, but also with the name of a *permission node* featuring direct an possibly indirect child elements. In this case, the check recognizes each of the child permissions as "matches", so that the **Actions on "true"** are executed if the role grants any child permission of the node. Basically, the **Permissions** parameter can be edited directly as text. However, it is recommended to use the selection dialog available via the **Select** button to ensure that only valid paths appear in the text. | ![images/download/attachments/177914242/image2020-5-14_11-43-5-version-1-modificationdate-1727357315855-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-5-14_11-43-5-version-1-modificationdate-1727357315855-api-v2.png) | The selection dialog visualizes the permission hierarchy as a tree structure similar to the entry form for [Roles](/v1/docs/en/base-role) in which any nodes or permissions can be selected and deselected. The use of the selection functions, i.e. in combination with the search function, works as described there. - When the dialog is opened, any existing entries for **Permissions** appear as an existing selection, provided they relate to *absolute* *paths* for individual permissions. - When the dialog is closed with the **Apply** button, all absolute paths concerning individual permissions are updated according to the selection in the tree, i.e. added or deleted in the text. - *Relative paths* and paths to *permission nodes* are not shown in the tree view and remain unchanged in the text even when copied (possibly at a different position). Example: Starting from an initially empty field for **permissions**, clicking **Apply** in the example on the left produces the following result: ![images/download/attachments/177914242/image-2024-10-23_8-58-48-version-1-modificationdate-1729666727514-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-10-23_8-58-48-version-1-modificationdate-1729666727514-api-v2.png) If another line is added to this list with the entry `/document/print` (for "Document/Print"), a role is checked if it has permission for any of the numerous output formats in the "Print" node (for [Documents](/v1/docs/en/doc-document)), although the "Print" node in the tree is still displayed as empty the next time **Select** is clicked. | | --- | --- | | ![images/download/attachments/177914242/image-2024-10-23_8-59-59-version-1-modificationdate-1729666798849-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-10-23_8-59-59-version-1-modificationdate-1729666798849-api-v2.png) | The check in the example on the left specifies two *permission nodes* in *relative paths* in the **Permissions** parameter. With this configuration, the behavior could be used in the context of [Input forms](/v1/docs/en/base-entity-form) for different business object types, in order to globally check if the [Role of session](/v1/docs/en/base-session-role-value) grants any access to entries for [Working state](/v1/docs/en/base-working-states) or [Tracking state](/v1/docs/en/tracking-state-1) for the respective business object type. However, the selection dialog displayed by clicking **Select** would not indicate any selection for this configuration. |