First, thanks to all for the great module.

Currently if we add node edit/delete link field in Views, Module Grants is not "asked" about the access permissions on the node. And if the user does not have operation access the link is still displayed, when we click on it we get access denied.

I have created a simple sub module which adds integration with views. It consists of "node edit" and "node delete" link fields which use module_grants_node_access function.

Please review and commit if you think it can be useful to others.

CommentFileSizeAuthor
module_grants_views.tgz999 bytesdankh

Comments

rdeboer’s picture

Great stuff! Will definitely have a closer look and most likely include.
Thanks.

rdeboer’s picture

Version: 6.x-3.6 » 6.x-3.x-dev
Assigned: Unassigned » rdeboer
Status: Needs review » Fixed

Sorry dankh -- this completely dropped of my radar. Have committed it to the repository (3.x-dev branch) and credited you, of course.
If no bugs are reported I'll push it into the next official release, i.e. 6.x-3.8.

Status: Fixed » Closed (fixed)
Issue tags: -views

Automatically closed -- issue fixed for 2 weeks with no activity.