Download the PHP package roshyo/rights-management-plugin without Composer

On this page you can find all versions of the php package roshyo/rights-management-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rights-management-plugin

Sylius Rights Management Plugin

A rights management plugin for Sylius.

Installation

  1. Run

  2. Enable the plugin in config/bundles.php:

  3. Add the following import to _sylius.yaml:

  4. Add the following route to routes.yaml:

  5. Update your database schema:

  6. Override AdminUser template to add group select: 1) Create a file: app/Resources/SyliusAdminBundle/views/AdminUser/_form.html.twig

    2) In the freshly created file, put the content of _form.html.twig

    3) Then add the following snippet:

  7. Clear cache to load translation correctly

Usage

Group can only grant or deny access to listed routes. To list route, add to your config.yml.

Example:

Architecture is:

Family and Action can be set to what you want, they are only used to get a nice and beautiful architecture.

The syntax with an "*" is allowed, making the firewall to take everything starting by the given string. The "*" is only allowed at the end of a string.

Caution

We advice you to create an Admin Group with full right, otherwise when you will edit an user, it will take the first group in the list. And you will need to unlock the user directly in MySQL. You manually need to update and save groups if new routes are added in config.yml.

Feel free to contribute

You can also ask your questions at the mail address in the composer.json mentioning this package.

Other

You can also check our other packages (including Sylius plugins) at https://github.com/BeHappyCommunication


All versions of rights-management-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
sylius/sylius Version ^1.7
symfony/dotenv Version ^4.4
symfony/flex Version ^1.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package roshyo/rights-management-plugin contains the following files

Loading the files please wait ....