GithubHelp home page GithubHelp logo

gocom / rah_privileges Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 3.0 648 KB

Configure Textpattern CMS' user-group privileges through Preferences panel

License: GNU General Public License v2.0

PHP 90.86% Makefile 9.14%
textpattern textpattern-plugin php composer-packages

rah_privileges's Introduction

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.

rah_privileges's People

Contributors

gocom avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jools-r

rah_privileges's Issues

Incorrect labels for privileges

In the current dev version, the labels for the priv names do not show correctly. The array seems to be populated correctly but the label is the same as the name attribute, which is an md5-encoded string prefixed with rah_privileges...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.