[support] Access control modules do not work . . .
Metzler, David
metzlerd at evergreen.edu
Wed May 16 15:41:59 UTC 2007
Jason,
The best way I've found on getting a handle on what's wrong with node
access is to inspect the node_access table directly.
In some cases (like simple_access) the module's don't keep a separate
store where they keep track of a permission to a node, and if that's the
case, executing the reubuild node permissions will actually remove all
access restrictions from all nodes. I'm not familiar with the access
module that you're interested in, so I don't know if this is the case
there.
So the best advice I can give is to rebuild permissions on a test site
(not upgraded), and try setting up node_access from scratch. If it
works, try inspecting the contents of the node access table on your
upgraded site with what you've got on your functional test site.
Does that seem like a plan?
Alternatively, maybe someone out there who's using the module (or the
maintainer) might be able to look at the data from your node_access
table.
If you don't get help, let me know and I'll give a shot to reading the
module code and seeing if I can let you know what the node access table
should look like. Have you logged an issue on the project site?
Dave
-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Jason Flatt
Sent: Wednesday, May 16, 2007 8:06 AM
To: support at drupal.org
Subject: Re: [support] Access control modules do not work . . .
On Wednesday May 16 2007 7:01 am, Victor Kane wrote:
> the link to the class notes, sorry: http://groups.drupal.org/node/3307
>
> On 5/16/07, Victor Kane <victorkane at gmail.com> wrote:
> > I am no expert, but there was a wonderful drupal dojo lesson on ACL
> > and other niceties of the Drupal node access system, given by Andy
> > Kirkham (ajk^) himself, and I wrote up the class notes, perhaps they
> > might be of help:
> >
> > btw, make sure you backup your database before zapping your node
> > access table :)
> >
> > saludos,
> >
> > Victor Kane
> > http://awebfactory.com.ar
> >
Thank you for the information, Victor. However, while I could certainly
follow the lesson and create something that would do what I wanted, I
don't think it's necessary if an existing module will work, and I don't
think it will work with the existing system until I fix the problem.
--
Jason Flatt
http://www.oadaeh.net/
Father of Six: http://www.flattfamily.com/ (Joseph, 13; Cramer, 11;
Travis, 9; Angela; Harry, 5; and William, 12:04 am, 12-29-2005)
Linux User: http://www.kubuntu.org/
Drupal Fanatic: http://drupal.org/
--
[ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list