Include support for alias in roles and groups

Bug #885201 reported by TitanKing on 2011-11-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I want to assign certain rights in a plugin specified users. Such as eg. the edit, delete and add.

what is the best way to manage this?

Changed in phpdevshell:
importance: Undecided → High
assignee: nobody → TitanKing (titan-phpdevshell)
TitanKing (titan-phpdevshell) wrote :

As discussed here

The new method added will be used with groups and aliases by only providing the alias of the group action that needs to be performed like example below.

  if ($this->user->groupCan('edit')) {
   // Script that shows and managaes edit.

Changed in phpdevshell:
status: New → Fix Committed
milestone: none → 3.0.5-stable
Changed in phpdevshell:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions