[drupal-devel] [feature] Allow for more integers in node_access grant_x columns

moshe weitzman drupal-devel at drupal.org
Mon Jun 20 20:25:26 UTC 2005


Issue status update for http://drupal.org/node/25395

 Project:      Drupal
 Version:      cvs
 Component:    node.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  moshe weitzman
 Reported by:  moshe weitzman
 Updated by:   moshe weitzman
 Status:       patch
 Attachment:   http://drupal.org/files/issues/node_access_0.patch (620 bytes)

It is useful for modules to store more information in the grant_view,
grant_update, Grant_delete columns than just 1 or 0. This patch treats
0 and 1 just as before, and any value greater than 1 is assumed TRUE
(just like PHP).


Organic groups already has 2 needs for this. One would be to store the
'group role' of a member in this table.


Total characters changed: 1




moshe weitzman




More information about the drupal-devel mailing list