PHPackages                             divante-ltd/pimcore-object-fields-permissions - 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. [Security](/categories/security)
4. /
5. divante-ltd/pimcore-object-fields-permissions

ActivePimcore-bundle[Security](/categories/security)

divante-ltd/pimcore-object-fields-permissions
=============================================

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

13JavaScriptCI failing

Since Mar 9Pushed 6y ago5 watchersCompare

[ Source](https://github.com/DivanteLtd/pimcore-object-fields-permissions)[ Packagist](https://packagist.org/packages/divante-ltd/pimcore-object-fields-permissions)[ RSS](/packages/divante-ltd-pimcore-object-fields-permissions/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

pimcore-object-fields-permissions
=================================

[](#pimcore-object-fields-permissions)

[![Continuous Integration](https://github.com/divanteltd/pimcore-object-fields-permissions/workflows/Continuous%20Integration/badge.svg)](https://github.com/divanteltd/pimcore-object-fields-permissions/actions)

[![Code Coverage](https://camo.githubusercontent.com/b15280024384aec693136bec0d6e08791d88746a89937079acb0d8ef5c21b6c1/68747470733a2f2f636f6465636f762e696f2f67682f646976616e74656c74642f70696d636f72652d6f626a6563742d6669656c64732d7065726d697373696f6e732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/divanteltd/pimcore-object-fields-permissions)[![Type Coverage](https://camo.githubusercontent.com/964dd1ec1d4d09873ba2c51c64bc4cb83902464af6a001e5d317f1c02e1d7af4/68747470733a2f2f73686570686572642e6465762f6769746875622f646976616e74656c74642f70696d636f72652d6f626a6563742d6669656c64732d7065726d697373696f6e732f636f7665726167652e737667)](https://shepherd.dev/github/divanteltd/pimcore-object-fields-permissions)

[![Latest Stable Version](https://camo.githubusercontent.com/a10c4c53b76f0903c4de8da82491b96e5894ac869e316434b15a6bd0753a2faf/68747470733a2f2f706f7365722e707567782e6f72672f646976616e74652d6c74642f70696d636f72652d6f626a6563742d6669656c64732d7065726d697373696f6e732f762f737461626c65)](https://packagist.org/packages/divante-ltd/pimcore-object-fields-permissions)[![Total Downloads](https://camo.githubusercontent.com/1e72b8b924a10ec1ba86a25207f6c78207e3444eb5a664cf2879619702440d60/68747470733a2f2f706f7365722e707567782e6f72672f646976616e74656c74642f70696d636f72652d6f626a6563742d6669656c64732d7065726d697373696f6e732f646f776e6c6f616473)](https://packagist.org/packages/divanteltd/pimcore-object-fields-permissions)[![Total Downloads](https://camo.githubusercontent.com/0a51f0bd8b3f499d01c179b745451c8adadaae32475fa2147de16a89787df4d3/68747470733a2f2f706f7365722e707567782e6f72672f646976616e74652d6c74642f70696d636f72652d6f626a6563742d6669656c64732d7065726d697373696f6e732f646f776e6c6f616473)](https://packagist.org/packages/divante-ltd/pimcore-object-fields-permissions)

Install
-------

[](#install)

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

```

Enable the Bundle:

```
bin/console pimcore:bundle:enable ObjectFieldsPermissionsBundle

```

Usage
-----

[](#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
------------

[](#contributing)

Please have a look at [`CONTRIBUTING.md`](.github/CONTRIBUTING.md).

Code of Conduct
---------------

[](#code-of-conduct)

Please have a look at [`CODE_OF_CONDUCT.md`](.github/CODE_OF_CONDUCT.md).

License
-------

[](#license)

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

Please have a look at [`LICENSE.md`](LICENSE.md).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1809664?v=4)[Kuba Płaskonka](/maintainers/kubaplas)[@kubaplas](https://github.com/kubaplas)

---

Top Contributors

[![prugala](https://avatars.githubusercontent.com/u/3672030?v=4)](https://github.com/prugala "prugala (37 commits)")

### Embed Badge

![Health badge](/badges/divante-ltd-pimcore-object-fields-permissions/health.svg)

```
[![Health](https://phpackages.com/badges/divante-ltd-pimcore-object-fields-permissions/health.svg)](https://phpackages.com/packages/divante-ltd-pimcore-object-fields-permissions)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
