I am using arckinteractive's role plugin (https://github.com/arckinteractive/Roles/tree/master), I wanna create a moderator role and I also had a look at the roles_moderator plugin, but it is pretty old. The code looks all right, so I used it in my plugin:
$roles = [
MODERATOR => [
'title' => 'Moderator',
'extends' => [
ADMIN_ROLE
],
'menus' => [],
'permissions' => [],
],
......
];but this is not working. I cannot see the admin menu on topbar and also not see other admin content, like editing other entities. Can anyone help? thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- damieneskimo@damieneskimo

damieneskimo - 0 likes
You must log in to post replies.so what would be the best way to create a custom role and extend the admin's permissions and rights.