I was wondering, how to get admin rights BEZ_AUTH_ADMIN, to be able to assign task and issue types.
It was taking me all day to find out that admin group assignment is hardcoded in https://github.com/gkrid/dokuwiki-plugin-bez/blob/master/mdl/Model.php#L119 to "admin" or "bez_admin" with no config option to set the name of the admin group otherwise.
If you use authad plugin and import acl's from a database you are stuck with no admin rights in bez. All you can do is add your wiki_admins group to the code, like so:
if ( in_array('admin', $grps) || in_array('bez_admin', $grps) || in_array('wiki_admins', $grps) ) {
I was wondering, how to get admin rights
BEZ_AUTH_ADMIN
, to be able to assign task and issue types. It was taking me all day to find out that admin group assignment is hardcoded in https://github.com/gkrid/dokuwiki-plugin-bez/blob/master/mdl/Model.php#L119 to "admin" or "bez_admin" with no config option to set the name of the admin group otherwise. If you use authad plugin and import acl's from a database you are stuck with no admin rights in bez. All you can do is add your wiki_admins group to the code, like so: if ( in_array('admin', $grps) || in_array('bez_admin', $grps) || in_array('wiki_admins', $grps) ) {