In many cases it would be very useful to be able to setup between values to join or leave each role.
For example:
Points for role power user: Between 1000 and 5000
Points for role moderator: Between 5001 and 10000
...and so on
Instead of:
Points for role power user: 1000
Points for role moderator: 5001
Great module by the way!
Thanks in advance

Comments

jredding’s picture

This is how it works.. As you get points you are moved up into a new role. Roles should be cumulative(additive) anyhow and not silos.

If you restructure your roles you'll have the exact same functionality as you state.

palazis’s picture

Thank you for your answer.
My English is not so perfect.
If I understand you well about cumulative(additive) roles...
...in my example a user will have both roles anyway (e.g. moderator + power user) if he has more than 5000 points.
...and one role (e.g. power user) if he has than 5000 points or less.
I just need to re-assign my role permissions using access control.
e.g. a power user can have 5 permissions and a moderator 2 permissions --> meaning that he will have 5 + 2 (extra) = 7 permissions.
Am I right?

jredding’s picture

Assigned: Unassigned » jredding
Status: Active » Closed (fixed)

you are correct. Role permissions are cumulative not exclusive. Thus a "Manager" in your sense is both an Authenticated user + Manager.

So just redesign your roles and you're all set!

jredding’s picture

Project: User Points » User Points Contributed modules
Version: 5.x-2.14 » 5.x-2.0