UNPKG

strapi-plugin-users-permissions

Version:

Protect your API with a full-authentication process based on JWT

44 lines (43 loc) 782 B
{ "info": { "name": "permission", "description": "" }, "pluginOptions": { "content-manager": { "visible": false } }, "attributes": { "type": { "type": "string", "required": true, "configurable": false }, "controller": { "type": "string", "required": true, "configurable": false }, "action": { "type": "string", "required": true, "configurable": false }, "enabled": { "type": "boolean", "required": true, "configurable": false }, "policy": { "type": "string", "configurable": false }, "role": { "model": "role", "via": "permissions", "plugin": "users-permissions", "configurable": false } } }