Module Grants 6.x-3.7
File ID: 101899
Module Grants 6.x-3.7 Description
Description: Module Grants makes modules that deal with content access permissions operate better on unpublished (as well as published) content. It also makes sure that access grants behave in an orderly fashion when such modules are used together.
* Access grants are tested for unpublished content just as they are for published content
* Allows modules that feature fine-grained access control (e.g. Workflow, TAC-Lite) to work together
* While Module Grants' raison d'etre is to act as a catalyst amongst other modules when dealing with unpublished content and/or fine-grained access control, it does come with a handy feature of its own via the Module Grants Monitor submodule, which is bundled with the package download. After enabling Module Grants Monitor, a new item, Accessible content, appears in your navigation menu. Clicking on it reveals a summary of all the content the logged-in user has access to (i.e. view, edit) after access controls have been applied by the content access modules installed on your site. So if you have Workflow installed then what's editable to you and what's only viewable to you will depend on the workflow state the content is in. With the TAC-Lite module enabled it will depend on the vocabulary term(s) used in the content.
This module works around a couple of quirks in the core access permission system that tend to get in the way, for instance when you set up workflows and/or are dealing with categorised content.
By ensuring that access grants are tested for unpublished content just as they are for published content this module allows you to implement approval workflows that deal effectively with content moving from author to moderator BEFORE it is published (i.e visible to the public). And that's probably where it's needed most: once content is visible for all to see, it's a bit late to start an approval process!
Module Grants works particularly well with Revisioning in creating content approval and publication workflows. See the Revisioning project page for some step-by-step tutorials.
When publication workflows and category-based content are used together (e.g. after installing Workflow and TAC-Lite) this module makes sure that their combination exhibits the expected behaviour: access is granted to content only when it is in the right state AND (rather than OR) of the right category.
For example, when taxonomy access control is set up so that an Arts moderator/publisher can't view a Sports article, because Arts moderators don't have access to the d-deDUsportsd-deDt term, then it would be wrong if that Arts moderator suddenly does obtain access to Sports, when someone put content in the d-deDUreviewd-deDt state, and by the workflow access grants moderators are allowed to view content in "review". Yet, this will be the behaviour you'll find if you don't have this module installed.
Installation instructions can be found on the Module Grants documentation page.
Some related forum issues:
#362105: Granular Taxonomy-Based Publishing Workflow,
#387412: Workflow_access problem in 6.10,
#156028: Workflow nodes must always be published for access controls to apply
Available in 6.x-3.6 (10 Jul '10)
o #750092: node access cache ignores account (thanks: James Cartledge)
o Integration with Content Translation #766504: Integration with Content translation (thanks: David Stosik)
o Show detected content access modules at Site configuration >> Module Grants
o Implement hook_node_access_explain() (for Devel module)
o hook_user_node_access($revision_op, $node) example in module_grants.api.php
Available in 6.x-3.5 (6 Mar '10)
#695084: Accesible content display message that user can publish revisions of too many content types.
Code refactored and efficiency improved. For programmers a hook, hook_user_node_access($revision_op, $node) is available. See the comments at the top of module_grants.module.
Available in 6.x-3.3
The Accessible content menu option is now implemented through the optional (sub)module Module Grants Monitor, which requires Smart tabs.
If you don't like the memory function that Smart tabs brings to your pages, but would still like your tabs on the Accessible content page to work properly without any permission issues, then simply go to Administer >> Site configuration >> Smart tabs and blank out the Pages to include text box on the page. If you want the Smart tabs memory function for the Accessible content page only, then enter in the Pages to include text box the following line:
If you are happy to have the memory function on all your pages enter * in the text box.
Important: If you upgrade Module Grants to a later version and you also use Revisioning make sure to also upgrade that module to the latest version as well. And don't forget to visit Site building>>Modules so that the changes are activated.
Related: Content, Access, Module, grants, Modules, Published, workflows, don, Accessible, unpublished, Workflow, Smart, Control, approval, revisioning, taclite, Function, makes
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 30.7 KB
|More Similar Code|
This module enables Ubercart stores to encourage existing users to invite other people. To do this this module grants a discount coupon to inviter each time invitee make a purchase.
Here the workflow of a invite discounts:
1. A user is registered on your website,
2. This user invites some friends,
3. User's friends get invite message
4. One of the friends register,
5. This new member (invitee)...
This module works with CCK userreference fields and the node_access module to add additional grants to nodes.
To enable userref_access on a node, edit the userreference field for the node type and check the "Use User Reference...
The Smart menus, Smart tabs duo of modules make everyone's Drupal experience just that little bit more convenient. The two modules give menus and tabs a memory, so that when you revisit a page, your previous tab or menu choice is already...
Yet another node access module.
This module allows you to manage permissions for content types by role and author. It allows you to specifiy custom view, edit and delete permissions for each content type. Optionally you can enable per...
Nodeaccess is a Drupal access control module which provides view, edit and delete access to nodes. Users with the 'grant node permissions' permission will have a grant tab on node pages which allows them to grant access to that node by user or...
This module exposes primitives useful for executing Markov Encryption
processes. ME was inspired by a combination of Markov chains with the
puzzles of Sudoku. This implementation has undergone numerous changes
Welcome to the DNN Survey module project home page. Here you will be able to get the latest information as it becomes available on the the project, find the latest downloads, and collaborate on the development.
Please feel free to post...
The RPT Software - Batch Reporting Module is an Access module which exposes two functions to help you easily create Microsoft Access reports in the following formats:
- Adobe PDF (Portable Document Format)
- RTF (Rich Text Format)
The Repository Module can be used to store a collection of files, images, links or text on a server running the DotNetNukedlT« framework. In addition to storing basic object information, the Repository module also allows you to store detailed...
The Reports module provides a simple, but flexible, view on data from your DotNetNuke Database. SuperUsers (aka "Host" users) can develop Reports by building a SQL Query and visualizing it with one of the Visualizers built-in to the...
|User Review for Module Grants