pedrotuga
I want to integrate a dokuwiki installation with SMF 2.0.
Basic shared login is all I need, no common usergroups or whatsoever.
The wiki already has some users, most of them use the same username in both places, the ones that don't will manually edited or removed.
My question is:
Will the current ACLs be valid and working when I use mysql authentication backend?
pedrotuga
Ok... I strongly believe that the user groups in the mysql auth backend, are there to replace the ACLs stored in the defualt flat files. I need a confirmation though. Is that so?
andi
There are two things:
1. User Authentification
2. Access Control Lists (ACL)
The first is what auth backend handle. When you use the MySQL backend all users and theri groups need to be defined in a MySQL database. The usual wiki user file is no longer used.
The second is used to assign permissions to the users and groups identified by the auth backend (1). It is independent from the auth backend. When you had a group 'foo' in plain backend and switch to MySQL with a group 'foo', group 'foo' will continue to have the same permissions.
pedrotuga
Thank you. That was informative and clear.
I have one more question that I forgot to ask: If I let the user management to be done completely in the other aplication, do I only need to define the basic four queries (getuserinfo, getgroups chack pass)? Can I just comment the following ones?
andi
Yes, you can leave out UPDATE, INSERT and DELETE queries if you want.