Sharing Features

All Plugins / Action / Share

Identity Card

StatusCore
Plugin LabelSharing Features
Short DescriptionShare Center actions and hooks
Plugin Identifieraction.share
AuthorCharles du Jeu
Urldocs/references/plugins/action/share
Dependencies

Documentation

This plugin gather both "share" actions (files sharing as temporary download links, and folder sharing as delegated repositories), as well as metadata hooks to display the share status of the files and folders inline. It is active only for stream provider drivers.

To make sure that the metadata appear correctly, make sure that the repositories implement one "metastore" plugin (only metastore.serial for the moment), as it is implementing the persistance of the metadata.

Plugin parameters

LabelDescriptionTypeDefault
Authorizations
Disable all sharing
DISABLE_ALL_SHARING
Disable all sharing on files or foldersBooleanfalse
Disable resharing
DISABLE_RESHARING
Disallow all sharing for shared workspacesBooleantrue
Files: enable public links
ENABLE_FILE_PUBLIC_LINK
Allow users to generate public links on filesBooleantrue
Files: enable internal sharing *
ENABLE_FILE_INTERNAL_SHARING
Enable internal file sharing (sharing with users existing or temporary users)Booleantrue
Folders: enable public links
ENABLE_FOLDER_PUBLIC_LINK
Allow users to generate public links on foldersBooleantrue
Folders: enable internal sharing *
ENABLE_FOLDER_INTERNAL_SHARING
Enable internal folder sharing (sharing with users existing or temporary users)Booleantrue
Link Generation
Hash minimum length
HASH_MIN_LENGTH
Minimum length of the generated hashInteger6
Hash user-editable
HASH_USER_EDITABLE
Allow users to manually choose a hash for the generated linksBooleantrue
Maximum file expiration limit
FILE_MAX_EXPIRATION
Maximum share expiration limit for file, 0 = unlimitedInteger0
Maximum file download limit
FILE_MAX_DOWNLOAD
Maximum download limit for file, 0 = unlimitedInteger0
Set password mandatory
SHARE_FORCE_PASSWORD
Do not allow users to create public links, only private links (password-protected)Booleanfalse
Force External Mailer
EMAIL_INVITE_EXTERNAL
Use external mailer for invitationsBooleanfalse
Create QRCode
CREATE_QRCODE
Create and display QRCode for shared linkBooleanfalse
Display HTML Embed code
INFOPANEL_DISPLAY_HTML_EMBED
Display pasteable HTML snippet in right-hand information panelBooleanfalse
Display Direct Download Link
INFOPANEL_DISPLAY_DIRECT_DOWNLOAD
Display pasteable download link in right-hand information panelBooleanfalse
Internal Sharing
Avoid labels duplication
AVOID_SHARED_FOLDER_SAME_LABEL
Disallow users to create shared folders if a workspace already exists with the same labelBooleanfalse
Tmp users prefix
SHARED_USERS_TMP_PREFIX
Mandatory prefix for users created temporary users loginString
Fork Events Forwarding
FORK_EVENT_FORWARDING
If you detect performances issues while modifiyng files under deep trees, try activating that one. Please be sure of what you do, this may trigger a whole lot of php processes on the server.Booleanfalse
Notifications
Shares Owner
WATCHER_SHARES_AUTO_OWNER
When sharing with some internal users, choose whether the owner will be notified by default of any event happening on this shareBooleanfalse
Shares Target users
WATCHER_SHARES_AUTO_USERS
When sharing with some internal users, choose whether these users will be notified by default of any event happening on this shareBooleanfalse