The User and Group Permissions are not being saved when I change them from the default.
Steps:
I created a Category (General).
I created two FAQ entries (question 1 and question 2)
I created two user Groups (Admin and LOAgent)
I edit question 1 and set the Group permission to LOAgent (it was set to Admin by default).
I save question 1 but the Group permission reverts to Admin.
I edit question 2 and set the User permission to All Users.
I save question 2 but the User permission reverts to (admin Rick Elliott).
On a different but related note:
I don't understand how the User and Group permissions relate (even after reading the documentation). Do group permissions override user permissions? I.e. If question 2 is set to All Users, but the group permission restricts it to LOAgent, will ONLY LOAgent group members be able to see that question?
Unable to save User/Group permissions for articles
Moderator: Thorsten
-
- Posts: 61
- Joined: Tue Mar 27, 2007 8:57 pm
- Location: Palo Alto, California
- Contact:
-
- Posts: 61
- Joined: Tue Mar 27, 2007 8:57 pm
- Location: Palo Alto, California
- Contact:
Additional info
I noticed that things behave a little differently when trying to restrict access to a category, instead of a question:
If I edit a category, I can change the access to either All Groups or Restrict Access to the Admin group (the first group I created). If I restrict to Admin, I can see the restriction take effect in the user view (in other words, the feature works as expected). However, if I try to change the Group Access to a different group, it won't take the change. It resets itself to the first group in the list.
I'm running RC2 on Linux, Apache 2.0.59, php 5.2.2, MySQL 4.0.27.
If I edit a category, I can change the access to either All Groups or Restrict Access to the Admin group (the first group I created). If I restrict to Admin, I can see the restriction take effect in the user view (in other words, the feature works as expected). However, if I try to change the Group Access to a different group, it won't take the change. It resets itself to the first group in the list.
I'm running RC2 on Linux, Apache 2.0.59, php 5.2.2, MySQL 4.0.27.
Hi,
I'll take a closer look at these issues this evening.
The group permissions are overriding the user permissions.
bye
Thorsten
I'll take a closer look at these issues this evening.
The group permissions are overriding the user permissions.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
I fixed the issues, please re-test them. Thank you!
bye
Thorsten
I fixed the issues, please re-test them. Thank you!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 61
- Joined: Tue Mar 27, 2007 8:57 pm
- Location: Palo Alto, California
- Contact:
Still not entirely fixed
I think you are 95% of the way there:
I checked out the latest source by doing
cvs -d:pserver:anonymous@thinkforge.org:/cvsroot/phpmyfaq login
cvs -z3 -d:pserver:anonymous@thinkforge.org:/cvsroot/phpmyfaq co -r PMF_2_0 phpmyfaq
(my version of index.php is 1.113 on the PMF_2_0 (branch: 1.113.2))
Now, when I set the group permission, my articles appear or disappear according to the user who is logged in.
But the UI in the Edit Records page doesn't look right. It always shows the default choice and it doesn't "stick" to the actual user or group when I save the record. When I go back to look, the permission has reverted to the default choice, even though it is restricting access to a different user or group.
I checked out the latest source by doing
cvs -d:pserver:anonymous@thinkforge.org:/cvsroot/phpmyfaq login
cvs -z3 -d:pserver:anonymous@thinkforge.org:/cvsroot/phpmyfaq co -r PMF_2_0 phpmyfaq
(my version of index.php is 1.113 on the PMF_2_0 (branch: 1.113.2))
Now, when I set the group permission, my articles appear or disappear according to the user who is logged in.
But the UI in the Edit Records page doesn't look right. It always shows the default choice and it doesn't "stick" to the actual user or group when I save the record. When I go back to look, the permission has reverted to the default choice, even though it is restricting access to a different user or group.
Hi,
okay, I'll take a look tomorrow on my free day.
bye
Thorsten
okay, I'll take a look tomorrow on my free day.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Still not entirely fixed
Hi Rick,
bye
Thorsten
this is working now on my test systems.rickliveops wrote:But the UI in the Edit Records page doesn't look right. It always shows the default choice and it doesn't "stick" to the actual user or group when I save the record. When I go back to look, the permission has reverted to the default choice, even though it is restricting access to a different user or group.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist