Objects Application Permissions

Liferay 7.4 2023.Q4+/GA102+

The Objects application is integrated with the permissions framework, so you can assign application and resource permissions to user roles to determine which users can access the application and its data.

Assign Objects permissions when defining role permissions.

See Defining Role Permissions for more information about assigning permissions to user roles.

Application Permissions

Application permissions grant permission to perform general application-related operations and do not include resource-related permissions.

Objects has the following application permissions:

Objects has the following application permissions.

PermissionDescription
Access in Control PanelAccess Objects in the Global Menu.
ConfigurationView and modify configuration options for the Objects application.
PermissionsView and modify Objects permissions.
PreferencesView and modify preferences for the Objects application.
ViewView the Objects application.
Important

For Liferay 7.4 2023.Q4+/GA102+, users must have the Object Folder > View permission to use the Objects UI.

Resource Permissions

Resource permissions grant access to view, create, and act on definitions and folders in the Objects application. Some of these permissions are for creating entities while others are for acting on existing entities (e.g., definitions and folders).

Objects has the following resource permissions.

Manage resource-related actions in the Objects application.

PermissionDescription
Add Object DefinitionCreate an object definition draft.
Add Object FolderCreate a folder for organizing object definitions.
Extend System Object DefinitionAdd fields, relationships, actions, and validations to system objects.
PermissionsView and manage permissions related to objects.
Publish Object DefinitionPublish an object definition draft.

Object Definition (For Existing Custom Definitions)

Manage permissions for existing object definitions.

PermissionDescription
DeleteDelete an object definition.
PermissionsView and modify permissions for an object definition.
UpdateUpdate an object definition.
ViewView an object definition.

Object Folder (For Existing Object Folders)

Manage permissions for existing object folders.

PermissionDescription
Add Object DefinitionMove an object definition to the folder
DeleteDelete an object folder.
PermissionsView and modify permissions for an object folder.
UpdateUpdate an object folder.
ViewView an object folder.

Managing Permissions for Individual Object Definitions

  1. Open the Objects application via the Global Menu (Global Menu).

  2. Click the Actions button (Actions Button) for the desired object definition and select Permissions.

    Click the Actions button for the desired object definition and select Permissions.

  3. Use the checkboxes to grant object definition permissions to the desired roles.

    Note

    Permissions defined in roles admin override permissions defined on the individual object definition.

    Use the checkboxes to assign permissions to the desired roles.

  4. Click Save.

Managing Permissions for Individual Folders

  1. Open the Objects application via the Global Menu (Global Menu).

  2. Click Actions (Actions Button) for the desired object folder and select Permissions.

    Click the Actions button for the desired object folder and select Permissions.

  3. Use the checkboxes to grant object folder permissions to the desired roles.

    Note

    Permissions defined in roles admin override permissions defined on the individual folder.

    Use the checkboxes to assign permissions to the desired roles.

  4. Click Save.

Retrieving Entry Permissions with APIS

Liferay 2024.Q4+/Portal 7.4 GA129+

With a custom object’s dedicated headless API, you can retrieve object entries’ permissions along with the regular response data. To do this with an API call, use the nestedFields parameter. Pass permissions as the nestedFields parameter value when calling the API to get them as a JSON string.

Any object entry's permissions are accessible via the permissions nestedFields parameter.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy