Closed Bug 442703 Opened 16 years ago Closed 16 years ago

Assigning a theme parameter overrides modules viewing permissions

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: brian, Assigned: nkoth)

References

Details

(Whiteboard: tiki_test (see comment 4))

Attachments

(1 file)

When you assign a theme parameter to a module that has special permissions, it overrides these permissions.

Example (what I did to discover this):
Assign Contributors module to Contributors group with parameter "theme=mozkb.css"
No longer blocks: 441658
Blocks: 441658
Assignee: nobody → nelson
Good catch Brian. I think this makes sense, since if you wanted to use OR logic, you can always create multiple modules.
Attachment #327552 - Flags: review?(laura)
Blocks: 442267
Comment on attachment 327552 [details] [diff] [review]
module filters should consistently use "AND" logic rather than "OR" logic

I'm not really sure about the logic here (no familiarity with the module stuff)...it looks ok to me but you might want review from Jason or somebody a bit deeper in Tiki.
Comment on attachment 327552 [details] [diff] [review]
module filters should consistently use "AND" logic rather than "OR" logic

Oh, and from my perspective r+.
Attachment #327552 - Flags: review?(laura) → review+
should be right - there was discussion about this in TikiWiki before and I think this is the right solution.

In r16595 (trunk) and r16596 (production).
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
I set the module to only appear on mozkb and it doesn't show when logged out...seems to have worked, will wait for QA to confirm.

Nelson: I only set the module to mozkb, if you want it on others just duplicate it I guess.  Thanks!!
Verified FIXED, since both bug 441658 and bug 442267, which depended on this, are verified fixed.
Status: RESOLVED → VERIFIED
Whiteboard: tiki_triage (see comment 4)
Whiteboard: tiki_triage (see comment 4) → tiki_test (see comment 4)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: