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

v2.0.0(3w ago)26.6k1BSD-3-ClausePHPCI failing

Since Jan 22Pushed 3w 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 1w ago

READMEChangelog (8)Dependencies (21)Versions (14)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

52

—

FairBetter than 96% of packages

Maintenance95

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~287 days

Recently: every ~352 days

Total

8

Last Release

25d ago

Major Versions

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

v1.1.0 → v2.0.02026-07-24

### 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 (26 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/cms

The SilverStripe Content Management System

5153.7M1.4k](/packages/silverstripe-cms)[silverstripe/contentreview

Flags pages for periodical author review (incl. reporting)

22271.1k5](/packages/silverstripe-contentreview)[silverstripe/admin

SilverStripe admin interface

272.8M402](/packages/silverstripe-admin)[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

10371.3k12](/packages/silverstripe-mfa)[bigfork/silverstripe-oauth-login

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

1899.9k3](/packages/bigfork-silverstripe-oauth-login)

PHPackages © 2026

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