Could we add a feature with a page for adding multiple node permissions to a user, instead of adding multiple user permissions to a node?

Update

This feature has now been committed and is included in the 7.x-1.1 release.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rudolfbyker’s picture

Assigned: Unassigned » rudolfbyker
Issue summary: View changes
Status: Active » Needs review
FileSize
12.89 KB

I have implemented this feature. I was aiming for the use of a table, which worked very well under some circumstances, and not at all under others. See http://drupal.stackexchange.com/questions/90282/d7-fapi-unexpected-bahvi... for more info. This link is also in the code, until it gets resolved.

Patch attached, please test and let me know if there are bugs!

gisle’s picture

Issue summary: View changes

This feature has now been committed and is included in the latest 7.x-1.x-dev release.

Please review. I'll push it to a new official version as soon as I get some feedback from the community that it works and is stable.

rudolfbyker’s picture

When there are no content types enabled on the Flexi Access config page, then an SQL error is generated in the autocomplete function, because the IN clause gets an empty argument. Here is a patch. Corrected with if (!empty(...))

gisle’s picture

Patch in #3 committed to the repository.

gisle’s picture

Version: 7.x-1.x-dev » 7.x-1.1
Issue summary: View changes
Status: Needs review » Fixed

This feature is in ver. 7.x-1.1.

Status: Fixed » Closed (fixed)

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