Multiple role subscription

4 replies [Last post]
fred0
Offline
Joined: 08/15/2009
Status: 
Answered

 Hi there. Just purchased your module and started configuring it. The one thing that jumped out at me right away was that you could only set 1 role per subscription. I'd really like to see the ability to assign multiple roles.

Basically, what I am doing is offering 3 different role access levels via combo subscriptions such as:

Subscription 1: Role1

Subscription 2: Role2

Subscription 3: Role3

Subscription 4: Role1 + Role2

Subscription 5: Role1 + Role3

Subscription 6: Role2 + Role3

Subscription 7: All 3 Roles

 

While I could create more roles to match the combo subscriptions, that just makes my permissions page and ACL pages unnecessarily cluttered and complicated.

Thanks!

Leighton Whiting
Offline
Joined: 06/02/2009
Fred, This is a good idea,

Fred,

This is a good idea, but I feel that this would be duplicating functionality of the Drupal Roles System. This module is intended to be a way to sell roles on a 1-to-1 relationship with paypal subscriptions, allowing users to easily upgrade, and allowing admins to easily manage them. The permissions part of it is meant to be entirely set by Drupal's Role System, following the modular approach that makes Drupal so great. The better way to do this is, like you said, to create additional roles for the combo subscriptions. It may be a bit more cluttered on the permissions page, but once the settings are set, how often do you see that page? Hope that helps.

Sincerely,

Leighton Whiting

juicytoo
Offline
Joined: 07/22/2009
I agree

 

In terms of usuability, I agree with Fred.

It is easier to make role permissions cumulative.

It's clearer what is added, and what the base role permissions are.

Not sure how hard it is to add?

cheers

 

Leighton Whiting
Offline
Joined: 06/02/2009
I agree that it would be more

I agree that it would be more intuitive for creating subscriptions, but there is also the point of upgrading membership and cancelling subscriptions which must be considered, and I think it would make both of those things somewhat counter-intuitive. Subscriptions are meant to be a 1-to-1 relationship to a SPECIFIC role, making it easier on both parties.
Implementation would be somewhat difficult as well, since a core-rewrite would be needed, this would only be possible for a new version 5 branch. I still think the best way to serve everyone and keep it simple would be to use Drupal's Role System for Content Access and Permission issues.

Sincerely,
Leighton

juicytoo
Offline
Joined: 07/22/2009
point taken

 Hi Leighton,

 Point is taken.

 I guess it will reduce complexity and improve stability with a 1-1 relationship. Everything is clearer.

cheers

Ed

 

Twitter Feed