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

moshe weitzman drupal-devel at drupal.org
Fri Aug 5 03:29:03 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:   moshe weitzman
 Status:       patch (code needs review)

JonBob confirmed to me that he knows of nothing that breaks with this
patch and supports the new functionality.




moshe weitzman



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




------------------------------------------------------------------------

Wed, 27 Jul 2005 20:33:43 +0000 : chx

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







More information about the drupal-devel mailing list