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.
| Attachment | Size |
|---|---|
| taxonomy_html.patch | 1.75 KB |

#1
Whoops I called the access variable "access taxonomy html" in one place and "view taxonomy html" in another. This patch replaces the previous.
#2
if possible, please submit patches against CVS Drupal.
I think you want to reuse the 'access content' permission, not create a new one.
#3