mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 00:51:17 +00:00
17 lines
412 B
JavaScript
17 lines
412 B
JavaScript
'use strict';
|
|
|
|
const ACTIONS = {
|
|
read: 'plugin::upload.read',
|
|
readSettings: 'plugin::upload.settings.read',
|
|
create: 'plugin::upload.assets.create',
|
|
update: 'plugin::upload.assets.update',
|
|
download: 'plugin::upload.assets.download',
|
|
copyLink: 'plugin::upload.assets.copy-link',
|
|
};
|
|
|
|
module.exports = {
|
|
ACTIONS,
|
|
FOLDER_MODEL_UID: 'plugin::upload.folder',
|
|
FILE_MODEL_UID: 'plugin::upload.file',
|
|
};
|