Experimental project
This is a sandbox project, which contains experimental code for developer use only.
The Revisioning module (http://drupal.org/project/revisioning) allows users permission to publish pending revisions by content type. This module allows publish permission to be segmented by taxonomy terms.
Dependencies
Revisioning
Module Grants since this provides a function to test the node grants that are applied to unpublished content.
This module should be used with something like Taxonomy Access Control which will control node edit permissions.
A message will also be appended to the revision log stating who published the node, and when.
Known limitations:
1) I didn't want to monkey too much with the revisioning module so instead of overriding the menu access callback of revisioning's publish link, this module creates it's own publish link. If a user has both permission to publish the content type from the revisioning permission, and permission to publish content with the term ID, they will see two publish links.
2) I used term ID reluctantly since it isn't user friendly. Nevertheless I went this way since tid is guaranteed to be unique.
3) When a term is deleted, I suppose this module should delete all permissions to publish with that ID. I don't think this is a real issue since it's guaranteed that all future terms will have a different tid since the tid autoincrements, but having obsolete publish permissions left over after term deletion isn't very clean.
If there's enough interest, I wouldn't mind cleaning up some of these loose ends.
I hope you enjoy the module!
Written by Shaun Dychko with Checkmark Media
Project information
- Module categories: Access Control
- Created by ShaunDychko on , updated