Closed (fixed)
Project:
Taxonomy Access Control Lite
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2009 at 11:57 UTC
Updated:
24 Jun 2009 at 12:15 UTC
'access callback' should be defined inside function 'tac_lite_user' for $op = 'categories'. Without it, it causes problems with i18n - tab 'Taxonomy-based access' inside 'My Account' is visible for all users.
| Comment | File | Size | Author |
|---|---|---|---|
| category_access_callback.patch | 606 bytes | kndr |
Comments
Comment #1
kndrComment #2
Dave Cohen commentedThanks, just checked this into DRUPAL-6--1. Could have sworn I had made a change like that once before.
Also, I used "administer users" rather than "administer tac_lite", because I think that's more appropriate. Anyone care to disagree?
Comment #4
ollynevard commentedIf a user has the "administer users" permission and not the "administer tac_lite" permission then the 'Taxonomy-based access' category is visible on the edit user page. However, if you click the category you get take to 'Page not found'.
Wouldn't the 'Taxonomy-based access' be more appropriate for this?
Alternatively would it be better to make both permissions mandatory and write a short access callback function to check them both (I believe user_access only accepts one access argument).