UNPKG

strapi-plugin-users-permissions

Version:

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

39 lines 728 B
{ "connection": "default", "info": { "name": "permission", "description": "" }, "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 } } }