5

I want to allow the administrator and manager roles to be able to create groups (for example different jobs within a company) and be able to assign users to the groups. I want this to be a one-to-many relationship so that user1 can be assigned to job1 and job2 (or no job) but user1 can't be assigned twice to the same job.

How would I go about starting this or what is a good module and/or resource to utilize?

8

This sounds like a clear use case for the Organic Groups module. Organic Groups is great if you have a need to create a container for content and then associate users with that container.

However, if you don't have a need for any content-oriented aspects of OG (such as access control), then maybe all you need to do is make the associations visible, rather than a part of the site's information architecture. In that case, it sounds like you might want to use the Content Profile so you can leverage CCK Node Reference fields, which can be one:many arrangements, and using the bundled content_permissions module or Field Permissions, restricted to roles with specific permissions for editing the field.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.