Documents and Media Permissions Reference

Liferay 7.4 U76+/GA76+

Manage access to Documents and Media assets using application and resource permissions. With role-based access control, you can ensure only the intended users can create, view, download, and manage documents.

You can grant these permissions in the Roles application under Content & Data in the permissions side panel.

Grant Documents and Media permissions in the Roles application under Content & Data in the permissions side panel.

Alternatively, you can assign individual resource permissions in the Documents and Media application.

Assign individual resource permissions in the Documents and Media application.

See Defining Role Permissions for more information.

General Permissions

General permissions grant access to the Documents and Media application itself and do not grant resource-related permissions.

PermissionDescription
Access in Site and Asset Library AdministrationAccess the Documents and Media application in the Site Menu ( Site Menu ) or Asset Library.
ConfigurationView and modify configuration options for Documents and Media.
PermissionsView and modify application permissions for Documents and Media.
PreferencesN/A
ViewView the Documents and Media application page.

Liferay DXP 2024.Q3+/Portal 7.4 GA125+ When a document has restricted visibility, the Not Visible to Guest Users icon (Not Visible to Guest Users icon) appears next to the document’s name. This happens in contexts such as List, Table, or Cards view modes, when editing the document, or when selecting a document to display it on a page.

Tip

If the Not Visible to Guest Users icon does not appear after managing the view permission for documents in the Documents and Media application, try refreshing your page.

Use the Not Visible to Guest Users icon to identify which documents have restrictions to their visibility.

Resource Permissions

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

Documents

PermissionDescription
Add DocumentAdd documents in Documents and Media.
Add Document TypeAdd document types in Documents and Media.
Add FolderAdd folders in Documents and Media.
Add RepositoryAdd repositories in Documents and Media.
Add ShortcutAdd shortcuts (links) to files and external videos in Documents and Media.
Add Metadata SetAdd metadata sets in Documents and Media.
PermissionsView and modify permissions related to creating and managing resources (e.g., folders, files).
SubscribeSubscribe to receive email notifications for resource events.
UpdateEdit resources in Documents and Media.
ViewView resources in Documents and Media.

Documents Folder

PermissionDescription
AccessAccess folder contents.
Add DocumentAdd documents to folders.
Add ShortcutAdd shortcuts (links) to any file in folders that the role is authorized to view.
Add SubfolderAdd sub-folders to folders.
DeleteMove folders to the recycle bin.
PermissionsView and modify folder permissions.
SubscribeSubscribe to receive email notifications when files are added to or modified in folders.
UpdateEdit or move folders.
ViewView folders.

Document

PermissionDescription
Add DiscussionAdd comments to documents.
DeleteMove documents to the recycle bin.
Delete DiscussionDelete comments from documents.
DownloadDownload and view the actual contents of documents locally. Users with this permission can view the document without needing the “View” permission.
Override CheckoutMake changes to documents even when checked out by another user.
PermissionsView and modify document permissions.
UpdateEdit or move documents.
Update DiscussionEdit document comments.
ViewView documents. Users with this permission can view all document metadata (e.g., title, description, adaptive media images, previews, thumbnails) and anything defined in attached document types and metadata sets.
Important

For Liferay 7.4 U75/GA75 and earlier, users could download assets with the View permission. Starting with 7.4 U76/GA76, there is a separate Download permission for managing view and download access. During the upgrade, Liferay automatically assigns the download permission to roles with the View permission. By default, all users, including unauthenticated ones, can download files; to limit this, remove the download permission from specific roles.

The View permission allows visibility of a document’s metadata and file entry in Liferay but not its actual content. Conversely, the Download permission allows retrieving and viewing the full document content locally.

For documents like images, viewing them in a browser requires downloading them to the local device, so the Download permission is necessary to view images online. Understanding these distinctions is essential for effective permission management and access control.

Shortcut

PermissionDescription
DeleteMove shortcuts to the recycle bin.
PermissionsView and modify shortcut permissions.
UpdateEdit or move shortcuts.
ViewView shortcuts.

Document Type

PermissionDescription
DeletePermanently remove document types.
PermissionsView and modify permissions for document types.
UpdateEdit document types.
ViewView document types.

Document Metadata

PermissionDescription
DeletePermanently remove metadata sets.
PermissionsView and modify permissions for metadata sets.
UpdateEdit metadata sets.
ViewView metadata sets.

Capabilities

Product

Contact Us

Connect

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