First, thank you for the well thought-out module!

I am unable to view questions/answers with this permission disabled: Node Module: Administer Nodes, and the following enabled:

  • faq module:
    • create faq
    • delete own faq content
    • edit own faq
    • view faq page
  • fax_ask module:
    • ask question
  • I wouldn't mind so much, except this admin nodes permission forces display of the revision, authoring and publishing options that I do not want cluttering the user interface for the faq_ask module.

    Maybe I am missing something on the permissions? or is this a bug?

    Comments

    terra666’s picture

    Version: 6.x-1.9 » 6.x-1.2
    stella’s picture

    Version 6.x-1.2 of the FAQ module is no longer supported. However, if you need the 'administer nodes' permission to see the faq nodes, then it sounds like they are unpublished nodes. If these are unanswered questions, then this is for the FAQ Ask module and not the FAQ one. I also wouldn't recommend giving that permission to untrusted users.

    terra666’s picture

    Thanks Stella, which version should I use? 6.x-1.x-dev ? drupal.org/project/faq says it is actively maintained with the recommended version: 6.x-1.12

    These are answered and published questions and display just fine when I enable 'administer nodes' permission. You are correct that this permission should not be given to just anyone, but it is the only permission that allows published, answered questions to be displayed in my setup for some reason.

    terra666’s picture

    Version: 6.x-1.2 » 6.x-1.12
    stella’s picture

    Status: Active » Postponed (maintainer needs more info)

    Took me a while to get back to this. Is this still an issue? If so, and if your questions are indeed answered and published, and the user has the 'access content' and 'view faq page' permissions, then it may be that you're using another access control module such as "content access", "node access" or "taxonomy access control (lite)". If so, check the configuration of those modules.

    stella’s picture

    Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

    No update to my question, so closing this issue. Feel free to reopen if the problem is still occurring.

    verta’s picture

    Version: 6.x-1.12 » 6.x-1.13
    Status: Closed (cannot reproduce) » Active

    I am seeing this on a 6.24 site with FAQ 6.x.1.13 on it and none of the access control modules mentioned. I am debugging it, as it does seem to be something in my permission grid, but cannot tell what yet. I have published and unpublished nodes of type FAQ, but none show up when I am on the index.php?q=faq page as an admin or as an unauthenticated user, and both have view FAQ permission.

    Edit: I do not have the FAQ Ask module on this site.

    verta’s picture

    Title: questions not visible with this permission disabled: Node Module: Administer Nodes » questions not visible with categories enabled and no taxonomy called 'FAQ'

    Found the answer.

    If the categories are enabled but there is no taxonomy called FAQ, this behavior is seen.

    This might be "as designed" but it might be considered a minor usability bug. If the box is checked but there is no FAQ taxonomy, certainly this is a RTFM moment, but it is also something the code might be able to detect and display an error message if the current user has administer FAQ permissions. Something like, 'Categories are enabled but no FAQ taxonomy found. Go to /admin/content/taxonomy and create a FAQ taxonomy or go to admin/settings/faq/categories and uncheck Use Categories' - just a suggestion.

    stella’s picture

    Title: questions not visible with categories enabled and no taxonomy called 'FAQ' » questions not visible with categories enabled and no categorized FAQ nodes
    Category: bug » feature

    This is essentially by design. If you've enabled the categorize question option but haven't categorized your FAQ nodes, nothing will appear.

    Though just one correction - the taxonomy vocab doesn't have to be called "FAQ". As such an automated solution, detecting the lack of a vocab is trickier, but I'll take a look and see what I can come up with.

    stella’s picture

    Status: Active » Fixed

    I've added in a similar error message on form save and when viewing the faq page. The only scenario where no questions may appear is if there are no terms associated with the nodes themselves, but that's harder to determine and will have to leave it for now.

    Error message committed to the 6.x-1.x and 7.x-1.x branches.

    Status: Fixed » Closed (fixed)

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