PHPackages                             nswdpc/silverstripe-dataobject-editable - 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. nswdpc/silverstripe-dataobject-editable

ActiveSilverstripe-vendormodule[Authentication &amp; Authorization](/categories/authentication)

nswdpc/silverstripe-dataobject-editable
=======================================

Add permissions to allow non-admins to edit DataObjects

v1.1.0(2mo ago)26.1k[1 PRs](https://github.com/nswdpc/silverstripe-dataobject-editable/pulls)1BSD-3-ClausePHP

Since Jan 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/nswdpc/silverstripe-dataobject-editable)[ Packagist](https://packagist.org/packages/nswdpc/silverstripe-dataobject-editable)[ RSS](/packages/nswdpc-silverstripe-dataobject-editable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (12)Versions (12)Used By (1)

Permission extension for DataObjects
====================================

[](#permission-extension-for-dataobjects)

Adds handy permissions to allow certain groups and roles to access dataobject records, based on configuration.

This allows, for instance, content administrators access to create/edit and delete records not managed by the core CMS module permissions

Permissions
-----------

[](#permissions)

### Edit / Create

[](#edit--create)

Permission: Edit content data objects

Edit and create are bundled into one permission, if you can create you can edit.

### Delete

[](#delete)

Permission: Delete content data objects

This specific permission is provided allowing members to delete dataobject records

### View

[](#view)

Permission: View content data objects

Anonymous users can view a dataobject, this allows permission checks to pass in your project controllers for published URLs and preview links.

When adding access to administration areas that list the relevant dataobjects, ensure you check this permission as well.

Overriding permissions
----------------------

[](#overriding-permissions)

This extension is suitable for content-related dataobjects where adding access does not have implications for the privacy of any data.

If you have data records that require specific permissions, specify these within those DataObjects rather than using this extension.

Requirements
------------

[](#requirements)

See composer.json

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

[](#installation)

`composer require nswdpc/silverstripe-dataobject-editable`

Configuration
-------------

[](#configuration)

Extend your DataObject to add the Edit/Create/View permissions as part of your project yaml configuration

```
---
Name: 'app-content-permissions'
----
My\Content\DataObject:
  extensions:
    - 'NSWDPC\DataObjectEditable\Extensions\DataObjectExtension'
```

After building and flushing, you will see Edit/View/Create content dataobjects permission in the Permissions tab of the Security section.

Checking one or more of these will provide that permission to the configured dataobject(s)

License
-------

[](#license)

[BSD-3-Clause](./LICENSE.md)

Maintainers
-----------

[](#maintainers)

- [dpcdigital@NSWDPC:~$](https://dpc.nsw.gov.au)

Bugtracker
----------

[](#bugtracker)

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the [code of conduct](./code-of-conduct.md) prior to opening a new issue.

Security
--------

[](#security)

If you have found a security issue with this module, please email digital\[@\]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the [code of conduct](./code-of-conduct.md) prior to completing a pull request.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance88

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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.

###  Release Activity

Cadence

Every ~314 days

Recently: every ~321 days

Total

7

Last Release

61d ago

Major Versions

v0.2.0 → v1.0.0-rc12023-06-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/1caefd99092b4a43254e48c40347224f671032ec1ffc3a457e06a7e9ab6e7c02?d=identicon)[nswdpc](/maintainers/nswdpc)

---

Top Contributors

[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (22 commits)")[![tardinha](https://avatars.githubusercontent.com/u/457209?v=4)](https://github.com/tardinha "tardinha (4 commits)")

---

Tags

contentdataobjectpermissionsilverstripesilverstripepermissionsdataobjectnsw

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nswdpc-silverstripe-dataobject-editable/health.svg)

```
[![Health](https://phpackages.com/badges/nswdpc-silverstripe-dataobject-editable/health.svg)](https://phpackages.com/packages/nswdpc-silverstripe-dataobject-editable)
```

###  Alternatives

[silverstripe/contentreview

Flags pages for periodical author review (incl. reporting)

22264.3k4](/packages/silverstripe-contentreview)[froog/silvergraph

Generates data model visualisations from SilverSripe DataObjects, displaying database fields, relations and ancestry

425.7k](/packages/froog-silvergraph)[silverstripe/mfa

Enable multi-factor authentication with fallback codes

10346.1k8](/packages/silverstripe-mfa)[bigfork/silverstripe-oauth-login

SilverStripe logins via OAuth2, using the PHP League's OAuth2 client

1794.7k2](/packages/bigfork-silverstripe-oauth-login)[symbiote/silverstripe-restrictedobjects

Provides more advanced permission management for data objects in SilverStripe.

181.2k2](/packages/symbiote-silverstripe-restrictedobjects)

PHPackages © 2026

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