I have two node limits set up as "Users of Role", with the goal being that user with Role A can create 15 nodes and then purchase Role B which temporarily grants them the ability to add another 5 nodes. The second role will be purchased through Ubercart and be granted for a limited time. The user always retains Role A.

What I'm finding is that users with both roles are limited by Role A - they don't get the extra nodes granted by Role B regardless of how many nodes Role B is allowed to create.

Is there a way around this?

Comments

Anonymous’s picture

Anyone?

duaelfr’s picture

This question over and over the same.
The only way to do this, for the moment, is to make these two roles exclusive and to make users have one or other but not both of them.

sbroadbent’s picture

This is definitely something I'd be interested in as well. A user who has multiple roles with different node limits ignoring the more restrictive node limit.

I have a site where new users can create one node (example: one picture) as Authenticated User. The Authenticated user role otherwise has limited access.

When a user has been fully approved for additional privileges, they get the regular member role which has a node limit of 10 nodes. Finally, if a user pays for a subscription, they have no node limit and can create as many as they want.

Due to every user getting the most restrictive node limits, my only option then will be to create a 'new registrant' role given automatically on account creation and set the minimal permissions. It'd be nice to be able to simply delete or disable the Authenticated User role, which I suppose would be to remove every permission and simply not use it.

akalam’s picture

Issue summary: View changes

¿Duplicated? I just posted a patch here!:
https://www.drupal.org/node/2268383#comment-9067901

neerajskydiver’s picture

neerajskydiver’s picture

Status: Active » Closed (duplicate)