Closed (fixed)
Project:
Examples for Developers
Version:
6.x-1.x-dev
Component:
Node Access Example
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2011 at 17:43 UTC
Updated:
26 Jul 2012 at 19:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
jhodgdonMoving to Examples issue queue
Comment #2
makangus commentedHere's a patch against 6.x-1.x
Comment #3
makangus commentedComment #4
rfay@makangus, thanks very much for this.
I would really appreciate if you could do 7.x-1.x first.
I do think it would be clearer to use an integer here. I actually think an integer other than 1 would be better, because it demonstrates the arbitrary nature of the identifier, if I'm not mistaken.
Comment #5
makangus commented@rfay, I don't think the 7.x-1.x branch has the same problem.
The 7.x-1.x is using NODE_ACCESS_EXAMPLE_GRANT_ALL as the gid
NODE_ACCESS_EXAMPLE_GRANT_ALL is defined to 23 which is exactly want you wanted, an arbitrary integer that's not 1
Comment #6
rfayWhy don't we do that one same thing then here, and use an integer that's sufficiently arbitrary to explain to people what it is...
Thanks so much for your work on this.
Comment #7
makangus commentedHow about this?
Comment #8
rfayCommitted, http://drupalcode.org/project/examples.git/commitdiff/50a0325
Thanks so much!