Steve
Steve

Reputation: 1877

Drupal for users creating "sub"-users?

I'm wondering if Drupal is the right choice for me. I need to create a solution where my "primary"-users should have the capability to create their "secondary"-users and provide access to certain paid subscriptions. Is that easily doable in Drupal, or am I better off not using that and looking elsewhere? (Alternative was to integrate Cake PHP into my custom app).

Upvotes: 2

Views: 4653

Answers (4)

DJ Monzyk
DJ Monzyk

Reputation: 11

This is what you need I do believe is subuser

Subuser:

This module allows users to be given the permission to create subusers. The subusers may then be automatically assigned a role or roles. The parent of the subusers then has the ability to manager the users they have created.

To customize the subuser related settings please visit admin/settings/subuser. Make sure you take a look at the subuser permission available and assign them appropriately.

Upvotes: 1

scronide
scronide

Reputation: 12238

You should be able to do much of you want using roles, permissions and the Subuser module for Drupal 6.

Upvotes: 6

mikewaters
mikewaters

Reputation: 3806

Drupal provides fine-grained access permissions, based on 'roles' - basically, classes of users (anonymous, administrators, etc.). Every drupal module has the ability to define permissions.

In this instance, I would create two user roles: primary and secondary. I would provide the primary role with the permission to 'administer users' (provided by user.module, and includes the ability to create new users, and to change the roles of users). I would provide the secondary users with the permission to 'access premium content' (which I assume is provided by some third-party module that you are using).

The Primary users would be in charge of creating secondary users, and assigning them the appropriate permissions.

EDIT: I am going to elaborate on my comment below; The Organic Groups module really does exactly what you asked, except with the goal of providing "[A place] ..where subscribers communicate amongst themselves." I am not sure if this is your goal, but it certainly creates a hierarchy of users.
OG is a highly active (read: supported) module, and could probably be considered a sub-project of Drupal itself since it has so many supporting modules of it's own.

HTH

Upvotes: 2

ceejayoz
ceejayoz

Reputation: 180045

It's conceivably possible, but it'd require some custom coding. If you already have a custom app you'd likely be better off just extending it.

Upvotes: 0

Related Questions