Contact Contact Show All Awards & Recognition
Contact
Show All Awards & Recognition

divante-ltd/pimcore-object-fields-permissions

not-reviewed

No Category

No author set

Version

Last updated

Contact

-

No  Reviewer

divante-ltd/pimcore-object-fields-permissions

No Category

Project Summary

Allow to configurate object field locked/mandatory based on user role and object fields values.


Readme

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.

Review status

not-reviewed

?>

No author set

Version

Last updated

Contact

-

No  Reviewer