Hi everyone,
I just setup PhpmyFAQ latest stable version, and it's great.
I have a question however about Groups & user rights.
I need some user to be able to publish articles, and assign them to groups. So i created a group, and set the rights to create articles, modify, publish etc...
But when i assign users to that group, they don't see the "Administration" tab, where it's possible to create articles.
When i allow the group all the permissions, the users within the group can administrate and create article. As long as i uncheck one permission, for instance "Right to delete multi-site instances" the Administration button is not showing anymore, so publishing or editing articles isn't possibe anymore...
Am i doing something wrong?
Regards,
User rights & Group
Moderator: Thorsten
Re: User rights & Group
Hi,
no, it's a stupid and hard to fix bug in 2.9.x. Your users can use the /admin login to avoid the issue.
bye
Thorsten
no, it's a stupid and hard to fix bug in 2.9.x. Your users can use the /admin login to avoid the issue.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: User rights & Group
Hi Thorsten,
thanks for the answer! It works perfectly well.
Regards,
thanks for the answer! It works perfectly well.
Regards,
Re: User rights & Group
+1 here on hoping you get this resolved soon. It is a little inconvenient.
Re: User rights & Group
So I did a little digging.
Line 613 index.php in the faq directory
$minRights = ['37', '39', '40', '41'];
Permissions 40 and 41 have to do with adding and editing instances. if $minRights means what I think it means, that's bad. So I removed those two and added 38, "Right to add questions in frontend".
Which seems logical as 37 is "Right to add FAQs in frontend" and 39 is "Right to add comments in frontend".
Now those permissions have to be checked in the group. You cannot take those away, but That is seemingly a workaround until you have a better solution.
Line 613 index.php in the faq directory
$minRights = ['37', '39', '40', '41'];
Permissions 40 and 41 have to do with adding and editing instances. if $minRights means what I think it means, that's bad. So I removed those two and added 38, "Right to add questions in frontend".
Which seems logical as 37 is "Right to add FAQs in frontend" and 39 is "Right to add comments in frontend".
Now those permissions have to be checked in the group. You cannot take those away, but That is seemingly a workaround until you have a better solution.