Skip to content

DivanteLtd/pimcore-object-fields-permissions

Repository files navigation

pimcore-object-fields-permissions

Continuous Integration

Code Coverage Type Coverage

Latest Stable VersionTotal Downloads Total Downloads

Install

composer require divante-ltd/pimcore-object-fields-permissions

Enable the Bundle:

bin/console pimcore:bundle:enable ObjectFieldsPermissionsBundle

Usage

object_fields_permissions:
    objects:
        Product:
            -
                roles: ['ROLE_EDITOR', 'ROLE_TRANSLATOR']
                conditions:
                    -
                        status: 'edit'
                properties:
                    -
                        price: ['locked']
                        description: ['mandatory']

In above example for user with role EDITOR or TRANSLATOR when object with class Product will have value edit for field status field price will be locked and description will be mandatory

Contributing

Please have a look at CONTRIBUTING.md.

Code of Conduct

Please have a look at CODE_OF_CONDUCT.md.

License

This package is licensed using the GNU General Public License v3.0.

Please have a look at LICENSE.md.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published