I will try to create this extension myself.
I have extended the PermissionGrid class with a new “Read Discussion” , but im basically stuck now..
extend(PermissionGrid.prototype, 'viewItems', items => {
items.add('permission', {
icon: 'eye',
label: app.translator.trans('sinamics-permission.admin.permissions.read_discussion_label'),
permission: 'readDiscussions'
});
});
How should I move forward from here? Should I create a new user group?
Can someone confirm that im on the right track? I need some pointers / help..
Cheers