Include support for alias in roles and groups

Bug #885201 reported by TitanKing
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Fix Released
High
TitanKing

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)
Revision history for this message
TitanKing (titan-phpdevshell) wrote :

As discussed here
https://answers.launchpad.net/phpdevshell/+question/177242

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  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.