Closed (fixed)
Project:
Taxonomy Access Control Lite
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2008 at 23:20 UTC
Updated:
24 Dec 2008 at 08:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
thomjjames commentedI 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
Comment #2
Dave Cohen commentedJust 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?
Comment #3
thomjjames commentedHi,
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
Comment #4
chadwick wood commentedI'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.
Comment #5
thomjjames commentedHi,
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
Comment #6
Dave Cohen commentedTom, 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.
Comment #7
Dave Cohen commentedJust checked into the DRUPAL-6--1 branch. Thanks again.
Comment #8
thomjjames commentedNo problem, thanks for this great little module!
Tom