/Light_MicroPermission

A light service to handle permissions with an extra layer of organization.

Primary LanguagePHP

Light_MicroPermission

2019-09-26 -> 2021-06-17

A light service to handle permissions with an extra layer of organization.

This is a Light framework plugin.

This is part of the universe framework.

Install

Using the planet installer via light-cli

lt install Ling.Light_MicroPermission

Using the uni command.

uni import Ling/Light_MicroPermission

Or just download it and place it where you want otherwise.

Summary

Services

This plugin provides the following services:

  • micro_permission (returns a LightMicroPermissionService instance)

Here is an example of the service configuration:

micro_permission:
    instance: Ling\Light_MicroPermission\Service\LightMicroPermissionService
    methods:
        setContainer:
            container: @container()





History Log

  • 3.1.1 -- 2021-06-17

    • add service->unregisterMicroPermissionsToOpenSystemByProfile method
  • 3.1.0 -- 2021-06-16

    • add open registration system
  • 3.0.11 -- 2021-05-31

    • Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
  • 3.0.10 -- 2021-05-11

    • Update deps (by CommitWizard).
  • 3.0.9 -- 2021-05-10

    • Fix assets missing.
  • 3.0.8 -- 2021-03-15

    • update planet to adapt Ling.Light:0.70.0
  • 3.0.7 -- 2021-03-05

    • update README.md, add install alternative
  • 3.0.6 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 3.0.5 -- 2020-12-04

    • Add lpi-deps.byml file
  • 3.0.4 -- 2020-09-15

    • add service.checkMicroPermission method
  • 3.0.3 -- 2020-09-08

    • update recommended permissions document
  • 3.0.2 -- 2020-08-21

    • update conception notes, add micro-permissions profile concept
  • 3.0.1 -- 2020-08-21

    • new api, new recommendations
  • 2.6.1 -- 2020-07-06

    • fix LightMicroPermissionService->registerMicroPermissionsByProfile not working properly
  • 2.6.0 -- 2020-07-03

    • add LightMicroPermissionService->registerMicroPermissionsByProfile
  • 2.5.0 -- 2020-03-10

    • removed LightMicroPermissionDatabaseEventHandler class
  • 2.4.0 -- 2020-03-02

    • add LightMicroPermissionDatabaseEventHandler class
  • 2.3.1 -- 2019-12-20

    • add personal memo in conception notes
  • 2.3.0 -- 2019-12-20

    • add LightMicroPermissionTrait trait
  • 2.2.0 -- 2019-12-20

    • update LightMicroPermissionService->restoreNamespaces add namespace optional argument
  • 2.1.0 -- 2019-12-19

    • replace mode system with disabledNamespace system
  • 2.0.1 -- 2019-12-18

    • forgot implementation of mode
  • 2.0.0 -- 2019-12-18

    • new system
  • 1.1.2 -- 2019-10-30

    • add "Recommended micro permission notation" document
  • 1.1.1 -- 2019-09-27

    • fix typo
  • 1.1.0 -- 2019-09-27

    • add BabyYamlMicroPermissionResolver
    • fix LightMicroPermissionResolverInterface using microPermissionId instead of microPermission
  • 1.0.0 -- 2019-09-26

    • initial commit