[development] What is gid in node_access table when realm = 'term_access'?

Khalid Baheyeldin kb at 2bits.com
Fri Jul 27 19:08:30 UTC 2007


On 7/27/07, Ron Parker <sysop at scbbs.com> wrote:
>
> The Drupal site has been up and down periodically today as I try to work
> through this issue.
>
> I've got the case_tracker module installed.  I created a case node, then
> went out to see what grants were written into the node_access table for
> the node.  I only saw entries with realm = 'term_access', but don't
> recognize the gid numbers (they don't seem to logically relate to
> vocabulary term or group ids in my system).
>
> So, I began searching Drupal and the internet trying to find out the
> answer to this question:
>
> What is the "gid" value in the node_access table referring to when the
> realm = 'term_access'?
>
> Can anyone explain or point me to a resource that will explain it?
>
> Thanks!
>
> -ron
>

gid = "grant id".

See an example here
http://2bits.com/articles/writing-a-simple-node-access-module-resume-access.html

This is a difficult area to understand in Drupal for most of us, and you
have a lot
of company in asking what these mean.
-- 
2bits.com
http://2bits.com
Drupal development, customization and consulting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070727/332ea1fe/attachment-0001.htm 


More information about the development mailing list