Include support for alias in roles and groups
Bug #885201 reported by
TitanKing
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) |
Changed in phpdevshell: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As discussed here /answers. launchpad. net/phpdevshell /+question/ 177242
https:/
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.
}