I found this module very helpful and critically important to the success of my new drupal site - access control for content by groups is THE reason I went with Drupal. I actually had assumed that drupal came this way out of the box, though there is no reason I should have.

It does seem to work, but like anything open source it is pretty slim on how to instructions. I am neither a PHP nor drupal developer, and some of the stuff that may be obvious to others was not, to me. So I am going to submit what I did to get it going here.

1. downloaded the module into my modules directory and un-tarred it like any module
2. read the README.txt
3. enabled through the administer > modules menu
4. from the link in the administer > modules screen (?) I went to the new simple_access menu . First time I got an access denied, second click worked fine (?)
5. Figured out that I needed to click on the enable button. That went OK in that it finished, and at least most of the time put up a green box saying I had enabled simple_access, but then I went in a long loop of trying to do things further in this menu, and kept getting sql errors pumped back up to the screen that tables did not exist. Darn.
6. Frustrated, I uininstalled everything and went back to the drupal.org/modules download page so I could find another solution instead of Simple Access. Maybe the organic groups thing.... Hmmm. Keep looking.
7. Followed through the forums and bug reports trying to figure out what I had done wrong. Didn't find anything but did find notes from some other guy saying how much he liked it, which was the critical point that I realized I should try again.
8. Somehow I figured out that i was being stupid and just needed to run the create table statements myself in the mysql shell client. Fired up the mysql command line, looked up the create table statements in the simple_access.mysql file, and created the tables myself
9. Presto, everything works fine. Still didn't know how to secure anything though.
10. Bumbled around, figured out that I needed to add a group. I created one to match existing access control group. That was a bit confusing, but what the heck. Seems a bit like the department of redundancy department to have access groups and simple access groups.
11. Hmmm. I gotta secure my content now. How the heck do I do that ? I looked around on the menus didn't find anything. Then I went into the edit mode one of my content nodes and there was a new dropdown there, offering me to select that new group I had just created ! Wahoo !
12. Secured it, then logged out to see if I could access that content without being logged in to that group. Wahoo again ! It worked, not only could I not access that node and everything under it, I also could not see it on the menu !!!!!! Very slick.

Elapsed time probably an hour or so, but could have been 15 minutes if I had followed some of the above documentation or otherwise known what I was doing....

Thanks for a great module!

Comments

matt westgate’s picture

Assigned: Unassigned » matt westgate
Status: Active » Fixed

Installation help text has been added. Thanks for the detailed report :-)

Anonymous’s picture

jjeff’s picture

Version: » master
Status: Fixed » Closed (fixed)