cruddy/sentry

There is no license information available for the latest version (dev-master) of this package.

dev-master 2014-10-31 17:39 UTC

This package is auto-updated.

Last update: 2024-12-06 20:55:58 UTC


README

If your application uses Sentry for authentication, you can it's power to control which entities the user can have access to.

Each entity has following actions that can be performed: view, create, update, delete. A user needs to have {entity}.{action} permission to perform an action on specified entity. For example, in order to be able to view items of products entity, authenticated user needs to have products.view permission.

Installation

Install the package using a Composer:

composer require cruddy/sentry:dev-master@dev

Add a service provider:

'Kalnoy\Cruddy\Sentry\SentryServiceProvider',

Set the permissions driver in Cruddy's configuration:

'permissions' => 'sentry',