gkrid / dokuwiki-plugin-approve

GNU General Public License v2.0
4 stars 17 forks source link

Approve Assignments groups #32

Open Masterruffy opened 4 years ago

Masterruffy commented 4 years ago

Hey ! I have a dokuwiki with ldap connection and I can not assign approver groups. On a local instance the groups assignment works just like it should. In the Admin panel I can assign a person a namespace/page but I would like to assign it to a group of people. If I enter the desired group with the prefix @ and save it, the group does not appear in the admin panel - just a blank space the the namespace. Is that a known issue or did I miss something?

solewniczak commented 4 years ago

This might be an issue but since I don't use ldap, I could miss it during development. I'll try to find a way to reproduce the issue on my local machine and fix it.

Mabelines commented 3 years ago

I have a similar problem with my setup. In my case the authentication backend is an Active Directory server. I can set groups with the prefix @ to my approvers configuration, but the plugin doesn't recognize the users of the group when they are logged in.

Maybe I can provide further information to solve this problem.

solewniczak commented 3 years ago

@MarvinSchmitz there is function client_can_approve($id, $pageApprover) in helper.php that checks if the user can approve the page. You should check why it doesn't work with ldap.