justbetter/statamic-veto

Statamic addon for blacklisting permissions.
1,454 2
Install
composer require justbetter/statamic-veto
Latest Version:0.5.0
PHP:^8.3
Last Updated:Sep 1, 2026
Links: GitHub  ·  Packagist
Maintainer: justbetter

Statamic Veto

A Statamic addon that adds permissions to grant roles the ability to edit all globals, terms, or entries, where it ussually is specific for every type of global, taxonomy or collection.

Requirements

  • Statamic v6
  • Laravel v12
  • PHP 8.3+

Features

This package adds three powerful permissions to your Statamic roles:

  • Edit all globals - Grant a role permission to edit all global sets
  • Edit all terms - Grant a role permission to edit all taxonomy terms
  • Edit all entries - Grant a role permission to edit all entries across collections

These permissions work alongside Statamic's existing permission system, allowing you to give roles blanket access to edit all content of a specific type without needing to configure permissions for each individual item.

Installation

Install the package via Composer:

composer require justbetter/statamic-veto

Publish the configuration file:

php artisan vendor:publish --provider="JustBetter\Veto\ServiceProvider" --tag="config"

Usage

Once installed, three new permissions become available when editing roles in the Statamic Control Panel:

  • edit all globals - Allows editing of all global sets
  • edit all terms - Allows editing of all taxonomy terms
  • edit all entries - Allows editing of all entries

Simply assign these permissions to any role, and users with that role will gain the corresponding access. These permissions work in addition to Statamic's existing permission system, so users will have access if they either have the veto permission or the standard Statamic permission for a specific item.

Configuration

You can customize the permission names in the published configuration file at config/statamic-veto.php:

return [
    'permissions' => [
        'global' => 'edit all globals',
        'entry' => 'edit all entries',
        'term' => 'edit all terms',
    ],
];

Quality

To ensure the quality of this package, run the following command:

composer quality

This will execute three tasks:

  1. Makes sure all tests are passed
  2. Checks for any issues using static code analysis
  3. Checks if the code is correctly formatted

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444