Skip to content

Configure Textpattern CMS' user-group privileges through Preferences panel

License

Notifications You must be signed in to change notification settings

gocom/rah_privileges

Repository files navigation

rah_privileges

Download | Issues | Packagist

Configure admin-side user-group permissions from Textpattern CMS’ preferences panel.

Install

Using Composer:

$ composer require rah/rah_privileges

Or download an installer package.

Requirements

  • Textpattern 4.7.0 or newer.
  • PHP 7.2.0 or newer.

Usage

Privileges can be configured in Textpattern admin at Admin / Preferences and from the page Privileges section. From there you can set which user groups have access to which different resources.

Resources added by other plugins can also be modified, as long as rah_privileges is set to load after the plugin that is adding the resource, and the plugin adds the resource during its initial initialization and not dynamically later on during its runtime.

Changelog

Version 0.3.0 – 2022/04/16

  • Added: Admin UI shows resource codes in addition to labels.
  • Now requires PHP 7.2.0 or newer.

Version 0.2.0 – 2019/03/24

  • Fixed: Textpattern 4.7.x compatibility.
  • Added: Pref panel layout fits better Textpattern 4.7.0 panes.
  • Now requires Textpattern 4.7.0 or newer.

Version 0.1.1 – 2015/03/04

  • Doesn’t unnecessarily load the plugin on non-admin pages.

Version 0.1.0 – 2015/03/04

  • Initial release.