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

chx drupal-devel at drupal.org
Wed Jul 27 20:33:45 UTC 2005


Issue status update for 
http://drupal.org/node/25395
Post a follow up: 
http://drupal.org/project/comments/add/25395

 Project:      Drupal
 Version:      cvs
 Component:    node.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  moshe weitzman
 Reported by:  moshe weitzman
 Updated by:   chx
 Status:       patch

I like this patch and as far as I can tell, it won't break anything.




chx



Previous comments:
------------------------------------------------------------------------

Mon, 20 Jun 2005 20:20:21 +0000 : moshe weitzman

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







More information about the drupal-devel mailing list