If I set permissions by user
/user/XX/edit/tac_lite
and save, they are not displayed / remembered

CommentFileSizeAuthor
#5 tac_lite_patch.patch799 bytesthomjjames

Comments

thomjjames’s picture

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

Dave Cohen’s picture

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?

thomjjames’s picture

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

chadwick wood’s picture

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.

thomjjames’s picture

Status: Active » Needs review
StatusFileSize
new799 bytes

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

Dave Cohen’s picture

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.

Dave Cohen’s picture

Status: Needs review » Fixed

Just checked into the DRUPAL-6--1 branch. Thanks again.

thomjjames’s picture

No problem, thanks for this great little module!
Tom

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.