Evening all -

I recently (last week) found out about Drupal, and am currently beta-testing it to replace my personal website (www.hargest.com)... The beta/dev version is located at www.hargest.com/drupal ... Prior to finding drupal, I'd been using MS-Frontpage to manage the few static pages I have on the site, phpBB for discussion forums, and Gallery2 for my fairly large (+4k pics) photo galleries. After finding Drupal and realizing that it could more than meet my needs in one cohesive look-and-feel package for users, I started exploring what it (and various modules) could do... To say that I'm amazed is a SERIOUS understatement.

The purpose(s) of my site are mainly personal in nature, with the following major user interests / areas:
- Family Genealogy
- Showcasing photo galleries
- Personal blogs
- Discussion forums
- News RSS Feeds
- Networking with my Gay and Lesbian co-workers

I've been searching the forums and am a bit befuddled. My question is thus...

I'd like to be able to restrict access to content, as not all users need access to all content. My understanding, from reading, and PLEASE correct me if I'm wrong (and I probably am) is:

1. - Create categories / vocabulary
2. - Create access control / roles
3. - Assign users to roles
4. - Assign content to roles / categories

Am I on the right track? I've got the following modules installed on my site (I just enabled the Drupal module this evening, so I don't know when it'll sync with drupal.org):

aggregator
archive
bbcode
block
blog
blogapi (DISABLED)
book
comment
comment_mover
commentrss
contact
content CCK
drupal
filter
forum
gallery
help
legacy (DISABLED)
locale
menu
news_page (DISABLED)
node
node_type_filter
nodereference CCK
number CCK
optionwidgets CCK
page
path (DISABLED)
ping (DISABLED)
poll
privatemsg
profile
quicktags
quote
search
smileys
smtp (DISABLED)
statistics
story
subscriptions
system
taxonomy
taxonomy_access
taxonomy_browser
text CCK
throttle
tracker
upload
user
userreference CCK
views
views_rss
views_theme_wizard
views_ui
watchdog

When exploring new software, I usually find the hard way to do things, then learn the easy way... Any help would be greatly appreciated.

Thanks // Ian

Comments

cog.rusty’s picture

About your steps:

1. - Create categories / vocabulary

Yes, perhaps more than one vocabularies representing different ways to organize the same content, e.g. topic and site section (rather than using a single multiple-select vocabulary). Forum has its own vocabulary.

2. - Create access control / roles
3. - Assign users to roles

Yes

4. - Assign content to roles / categories

Yes, but to be sure we understand the same thing I'll break this to:
- (Optionally) create more content types
- Assign content types to roles
- Assign content types to categories (so that when a user creates content of some type can use only the relevant categories)

Since you have the taxonomy_access module, you can also make finer settings for allowing/disallowing roles to do certain tasks with content of certain categories.

---------

Edited to add: Take a look at this for an example of how taxonomy_access might be used. I have not double-checked all the details, but it should give you an idea of the possibilities:

http://drupal.org/node/53958#comment-102002