Hi,
I've looked at http://community.zik…pic-topic-56272.htm and http://community.zik…art-0.htm#pid260589 and got close but still need help. I have a church web site for which I have 2 Categories: Ministries and Sensitivity. I have the Categories and FAQ module set up to have both a Sensitivity and a Ministry associated with each FAQ. Sensitivity possible values are "Members Only" and "Public". The Ministry possible values are all the ministries of the church, for example Board of Youth, Men's Christian Fellowship, etc. See http://www.gfccnet.org/module-FAQ.html for the current set-up. I'm running Zikula 1.2.4.
I'm trying to set up the site so that any FAQ with a category value of Sensitivity="Members Only" is not shown to unregistered users. I can't get the syntax correct. Is what I'm trying to to possible and, if so, what is the correct permission syntax? I've tried a bunch of permissions settings but what I currently have is:
Permissions
Group - Unregistered
Component - FAQ::Category
Instance - 10133:/__SYSTEM__/General/Sensitivity/Members Only:/Members Only
Permission level - No access
Category registry
Module: FAQ
Table: faqanswer
Property name: Main
Category: /__SYSTEM__/Modules/FAQ
Module: FAQ
Table: faqanswer
Property name: Sensitivity
Category: /__SYSTEM__/General/Sensitivity
Thoughts?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Setting Permissions Based on a Category
-
- Rank: Registered User
- Registered: Dec 02, 2004
- Last visit: Apr 08, 2010
- Posts: 26
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Unfortunately category-based permissions are not functional all the times, and I don't know if FAQ is coded to take care of the available schema, but this is a main concern after the release of Zikula 1.3, where the base technology supporting categories needs to be changed to implement this feature morer easily than ATM.
Greetings
--
- Mateo T. -
Mis principios... son mis fines
- Moderated by:
- Support
