2017 © Pedro Peláez
 

symfony-bundle logical-authorization-bundle

Bundle for Symfony 4 supporting flexible and convenient model, field and route level permissions.

image

ordermind/logical-authorization-bundle

Bundle for Symfony 4 supporting flexible and convenient model, field and route level permissions.

  • Sunday, July 15, 2018
  • by ordermind
  • Repository
  • 1 Watchers
  • 10 Stars
  • 179 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 121 % Grown

The README.md

Build Status, (*1)

Logical Authorization Bundle

This Symfony bundle provides a unifying solution for authorization that aims to be flexible, convenient and consistent. It combines the expressive power of https://github.com/ordermind/logical-permissions-php with the philosophy of Matthias Noback in his blog post https://matthiasnoback.nl/2014/05/inject-a-repository-instead-of-an-entity-manager to create a solid authorization experience for the developer., (*2)

  • Declare your permissions in the mappings for your routes, entities and fields
  • Combine multiple permissions with logic gates such as AND and OR
  • Support for routes, Doctrine ORM and Doctrine MongoDB
  • Review all of your permissions in a single overview tree
  • Filter results from repositories automatically with repository decorators
  • Intercept interactions with entities automatically with entity decorators
  • Export your permissions for easy synchronization with client-side applications
  • Debug each access check with detailed information

Installation

Requirements: Symfony 4.1 or higher., (*3)

Main bundle, (*4)

composer require ordermind/logical-authorization-bundle

Support for Doctrine ORM, (*5)

composer require ordermind/logical-authorization-doctrine-orm-bundle

Support for Doctrine MongoDB, (*6)

composer require ordermind/logical-authorization-doctrine-mongo-bundle

Getting started

Find the documentation here: https://ordermindlogical-authorization-bundle.readthedocs.io, (*7)

The Versions