Closed (fixed)
Project:
Taxonomy Term Permissions
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2009 at 22:34 UTC
Updated:
16 Dec 2009 at 18:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
deviantintegral commentedI think this crosses the line between bug and feature request; it's behaving as expected, but probably not as users would want it.
It should be fairly simple to write a patch where if the number of available terms is zero, unset the entire form element.
Comment #2
deviantintegral commentedHere is a patch which removes the vocabulary form item if the user doesn't have access to any of the terms. As well, if the vocabulary is required, it denies access to the add or edit page entirely, sets a warning message, and logs the error for an admin to fix.
I'll be committing this in a moment.