Giter VIP home page Giter VIP logo

dcsrolecorebundle's Introduction

DCSRoleCoreBundle

This bundle provides the basic services for the role management. Also it provides an option to set a default user role during the authentication process.

The base configuration requires that you specify the provider for the recovery of roles. They were made available two providers to install:

DCSRoleProviderORMBundle Provider for the management of user roles using Doctrine ORM.

DCSRoleProviderArrayBundle Provider for the management of user roles using an array.

Installation

Prerequisites

This bundle requires DCSSecurityCoreBundle.

Require the bundle

Run the following command:

$ composer require dcs/role-core-bundle "~1.0@dev"

Composer will install the bundle to your project's vendor/dcs/role-core-bundle directory.

Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
	$bundles = array(
		// ...
		new DCS\Role\CoreBundle\DCSRoleCoreBundle(),
		// ...
	);
}

Configure

Now that you have properly enabled this bundle, the next step is to configure it to work with the specific needs of your application.

Add the following configuration to your config.yml.

dcs_role_core:
    provider: YOUR_PROVIDER_SERVICE

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

dcsrolecorebundle's People

Contributors

damianociarla avatar nitish18 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.