Skip to content

Manage Role / Group in Symfony. Replace the security.yml role hierarchy in complex application

Notifications You must be signed in to change notification settings

2lenet/CredentialBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CredentialBundle

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_%";

About

Manage Role / Group in Symfony. Replace the security.yml role hierarchy in complex application

Resources

Stars

Watchers

Forks

Packages

No packages published