Closed (won't fix)
Project:
Advanced Help
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2008 at 23:16 UTC
Updated:
12 Jun 2023 at 22:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robertdouglass commentedDo I understand that you're talking about a "can read help text in section foo" type permission system? Something like the 'access' part of a menu item?
Comment #2
merlinofchaos commentedYes, something exactly like that.
Comment #3
robertdouglass commentedSo I started rolling a patch that integrates advanced help into D7, and I added a 'help arguments' key to menu items. This takes exactly the arguments $module and $topic. Seems to me like we could piggyback on the menu item's 'access'. How does that taste you?
Comment #4
merlinofchaos commentedThat could be interesting -- you should note that this is one something Gurpartap who is working on help as his Summer of Code project could be very interested in, and he's already done some work porting this module to 7.x (as help.module). You should contact him before doing too much more as I fear there is duplication of effort going on here now.
That said your idea has a lot of merit and I think it could solve the access issue.
Comment #5
robertdouglass commentedYeah, I toyed around with it before realizing that Gurpartap was doing the same. Will contact.
Comment #6
pasqualle#299050: Help System - Master Patch
I do not see any per section type permission system in the patch yet.
I started to use advanced help on the frontend of the website (help for users, not for admins), so a permission system is a much needed functionality for me now. Is there any quick solution (or idea) how to restrict the access on some topics?
Comment #7
crea commented+1 on this feature. We must be able to disallow users to access module help (which is for developers), while allowing them to access site help (which is for users).
Subscribing.
Comment #8
Mike Wacker commented+1
A logical idea would be to optionally associate each entry in the .ini file with a permission (or list of). Thus, if I don't have the 'administer module' permission, I wouldn't see the help topics associated with 'administer module'.
This would tailor the help system to each user role and unclutter it for users with fewer permissions.
Comment #9
merlinofchaos commentedThat part is easy. The search integration part of it is the hard part. Search is waht makes permissions complex.
Comment #10
servantleader commented+1 subscribing
need to be able to have help for non admins (people who can only add nodes should not be able to view the help for views)
Comment #11
cluther+1 Subscribing
One solution that I'm investigating is creating a "enduser help" module in the Advance Help format, and include both a permission and a hook_form_alter to route designated "end-users" to just the enduser module's help index page. Thought it'd be relatively simple to add this - but have been stymied by an index page that won't show. Posting the current implementation online to solicit ideas and suggestions:
Comment #12
claudiu.cristeaPatch.
Comment #13
claudiu.cristeaComment #14
claudiu.cristeasmall fix.
Comment #15
gisleAs long as help texts are in plain HTML files that can be accessed directly by anyone who knows (or is able to guess) the URL, we should not call this "permissions". What is needed is something allow help to be sectioned for different user groups so that ordinary users of the site are not confused by help pages written for developers. This is about the UX, not access control.
Comment #16
gisleAdvanced Help is never going to be a swiss army knife for help. This is out of scope.