mirror of
https://github.com/strapi/strapi.git
synced 2025-08-04 23:03:00 +00:00
14 lines
524 B
JavaScript
14 lines
524 B
JavaScript
![]() |
const pluginPermissions = {
|
||
|
// This permission regards the main component (App) and is used to tell
|
||
|
// If the plugin link should be displayed in the menu
|
||
|
// And also if the plugin is accessible. This use case is found when a user types the url of the
|
||
|
// plugin directly in the browser
|
||
|
main: [
|
||
|
// TODO check if it is the right permissions
|
||
|
{ action: 'plugins::upload.read', subject: null },
|
||
|
],
|
||
|
settings: [{ action: 'plugins::upload.settings.read', subject: null }],
|
||
|
};
|
||
|
|
||
|
export default pluginPermissions;
|