access control patch

Anonymous (not verified) - January 14, 2004 - 20:54
Project:Taxonomy HTML
Version:4.3.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Here is a patch to be applied against the 4.3.0 version (rev 1.23). It adds access control via a new 'access taxonomy html' permission setting, so that the blocks and links don't always show up for anonymous users.

It also does strtolower() on the entire link instead of just the first character. Otherwise, with a vacabulary name like "Two Words", you get "two Words" in the links.

AttachmentSize
taxonomy_html.patch1.75 KB

#1

Yog - February 10, 2004 - 16:50

Whoops I called the access variable "access taxonomy html" in one place and "view taxonomy html" in another. This patch replaces the previous.

AttachmentSize
taxonomy_html.access.patch 1.75 KB

#2

moshe weitzman - February 10, 2004 - 17:32

if possible, please submit patches against CVS Drupal.

I think you want to reuse the 'access content' permission, not create a new one.

#3

moshe weitzman - December 8, 2004 - 04:14
 
 

Drupal is a registered trademark of Dries Buytaert.