2lenet/credential-bundle

The 2LE's Credential Bundle.

Installs: 19 304

Dependents: 3

Suggesters: 0

Security: 0

Stars: 3

Watchers: 6

Forks: 0

Open Issues: 2

Type:symfony-bundle

2.1.2 2024-08-01 13:50 UTC

README

Credential bundle for 2le.

This bundle provides an easy credential manager to handle complex applications.

Its goal is to make easy an association between User Group and Role (credential)

Installation

composer require 2lenet/credential-bundle

flex should do the job

Setting up

config/routes/credential.yaml:

credential:
    resource: "@LleCredentialBundle/Resources/config/routes.yaml"

RESET Rubrique name

UPDATE lle_credential_credential
SET rubrique= SUBSTRING_INDEX(SUBSTRING_INDEX(role, '_', 2), '_', -1)
WHERE role like "ROLE_%";