Questions About Groups.Module
I was wondering if anyone has been testing or using Gerhard Killesreiter's Groups module for extended permissions with any success.
I had worked on a module for Drupal 4.0 called node_access, which allowed for rudimentary atomic per-node permissions, and was considering how to best port it to 4.2; however, I ran into a few problems and simultaneously noticed the groups.module here. So for the last few days I've been installing and re-installing it to see if it can do what I need.
However, I've run into a few odd occurrences, and wondered if anyone else had any insights.
Here's what I've done (several times):
I downloaded the latest CVS versions of both Drupal and groups.module. I created a new drupal database from database.mysql, registered as user#1, created a taxonomy according to the instructions in the groups.module INSTALL file with a single hierarchical tree, like this:
unregistered
--registered
---members
----board
-----admin
Our site is for a nonprofit, so we have anonymous (unregistered) browsers, browsers who have registered but are not members, members, our board of directors, and then admin (me).
Most of the site content is available to all. But some is available only to members, and administrative functions are restricted to admin.
Next I patch the database with groups.mysql, enable the groups module, configure it to use the taxonomy I have created, make "unregistered" the term for anonymous users, apply module.patch and run generate-utids.php to give the one existing account (me, the admin, user #1) a tid for the group "admin".