Posted by bryan.scott on November 19, 2008 at 11:20pm
| Project: | Taxonomy Access Control Lite |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
If I set permissions by user
/user/XX/edit/tac_lite
and save, they are not displayed / remembered
Comments
#1
I can confirm this is happening for me too.
Edit permissions seem to hold the value of the view permission.
I'm going to investigate a fix and hopefully commit a patch if i can fix it.
Thanks
Tom
#2
Just to be clear, you're saying the settings are saved and privacy is correct, but when you return to the form the values are not shown there?
Or are you saying user-based privacy is not working at all?
#3
Hi,
The user-based privacy system is working fine it just will not save the permissions for any realms other than the first realm listed.
ie. if you have a view realm and an edit realm it will only save the view realm per user setting and the edit one will follow the view realm settings.
Tom
#4
I'm getting this exact behavior as well. Whatever individual user settings I set (in the user edit tac_lite tab) only get remembered for my Scheme 1, and the setting for Scheme 1 is also applied to Scheme 2.
And actually, it looks like the carryover from Scheme 1 to Scheme 2 is not "real". I.e., the form for Scheme 2 mirrors the settings for Scheme 1, but in practice, the permissions for Scheme 2 are not being applied at all.
#5
Hi,
I think i've fixed this and i've created a patch for it (attached). Its working fine for me so please review.
Thanks
Tom
#6
Tom, thanks so much. the logic of that fix looks right. I'll try to find some time to test this weekend, before I check it in.
#7
Just checked into the DRUPAL-6--1 branch. Thanks again.
#8
No problem, thanks for this great little module!
Tom
#9
Automatically closed -- issue fixed for two weeks with no activity.