PHPackages                             arobases/sylius-rights-management-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. arobases/sylius-rights-management-plugin

ActiveSylius-plugin[Authentication &amp; Authorization](/categories/authentication)

arobases/sylius-rights-management-plugin
========================================

This plugin allows you to manage the rights and roles of administrator users

2.0.1(6mo ago)2290↑1400%5[5 PRs](https://github.com/Arobases-Sylius-Plugins/ArobasesSyliusRightsManagementPlugin/pulls)MITPHPPHP ^8.1

Since Mar 18Pushed 6mo agoCompare

[ Source](https://github.com/Arobases-Sylius-Plugins/ArobasesSyliusRightsManagementPlugin)[ Packagist](https://packagist.org/packages/arobases/sylius-rights-management-plugin)[ RSS](/packages/arobases-sylius-rights-management-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (30)Versions (24)Used By (0)

Arobases Sylius Rights Management Plugin
========================================

[](#arobases-sylius-rights-management-plugin)

This plugin allows you to manage the rights and roles of administrator users

[![arobases_banner](https://user-images.githubusercontent.com/39689570/219030936-8649849f-11a4-4533-bd5d-6f79662aca87.jpg)](https://user-images.githubusercontent.com/39689570/219030936-8649849f-11a4-4533-bd5d-6f79662aca87.jpg)

Installation
------------

[](#installation)

### Step 1: Download the plugin

[](#step-1-download-the-plugin)

- Install the plugin with `composer require arobases/sylius-rights-management-plugin`

### Step 2: Enable the plugin

[](#step-2-enable-the-plugin)

- Register the bundle in your `bundles.php`:

```
# config/bundles.php
 ['all' => true],
...
];
```

### Step 3: Import configuration

[](#step-3-import-configuration)

Create file `config/packages/arobases_sylius_rights_management_plugin.yaml` with this content

```
imports:
  - { resource: "@ArobasesSyliusRightsManagementPlugin/Resources/config/config.yaml" }

```

### Step 4: Import routing

[](#step-4-import-routing)

Create file `config/routes/arobases_sylius_rights_management_plugin.yaml` with this content

```
arobases_sylius_rights_management_plugin_admin:
    resource: "@ArobasesSyliusRightsManagementPlugin/Resources/config/admin_routing.yml"
    prefix: /admin

```

### Step 5: Use AdminUserTrait and implement AdminUserInterface

[](#step-5-use-adminusertrait-and-implement-adminuserinterface)

```
//src/Entity/AdminUser.php
