Create permission system so that help can be sectioned off

merlinofchaos - April 19, 2008 - 23:16
Project:Advanced help
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Right now all help is totally mixed together. The difficulty will be in the search system where we'll have to actually put the permission information in the database.

#1

robertDouglass - July 8, 2008 - 12:02

Do 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?

#2

merlinofchaos - July 8, 2008 - 16:51

Yes, something exactly like that.

#3

robertDouglass - July 9, 2008 - 21:30

So 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?

#4

merlinofchaos - July 9, 2008 - 21:56

That 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.

#5

robertDouglass - July 10, 2008 - 08:35

Yeah, I toyed around with it before realizing that Gurpartap was doing the same. Will contact.

#6

Pasqualle - November 22, 2008 - 23:57

#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?

 
 

Drupal is a registered trademark of Dries Buytaert.