| Project: | User Points |
| Version: | 6.x-1.0 |
| Component: | Code: userpoints API |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
I have a situation where I need to give my client access to manage the points (adjust, moderate, etc.) but I do NOT want to give them access to the administration page for the points module.
I figured these ought to be separate. A user should be allowed to add or subtract points without having access to administer the module's settings.
The patch below probably isn't sufficient, but it gets the job done for me. The only thing I wanted to do, but couldn't figure out how, is allow the "administer userpoints" AND my new "adjust userpoints" perms to be able to access these features. I believe users with "administer userpoints" should be able to do everything.
Anyhow, this patch lets me give users "Adjust userpoints" permissions, but not "Administer userpoints." The result is that they can work with userpoints, but cannot harm the settings for the module.
#1
Is this against 6.x-1.x-dev?
If I get 2 positive reviews on this, I will commit it.
#2
This is against 6.x-1.0. Sorry, I chose the wrong item from the version drop down.
Thanks!