3

When I give users the permission to administer user points, they can both add and moderate points. How do I give them only the permissions to add points, but give other users the permission to moderate points?

Can someone tell me how to use the hook_menu stuff, to set permissions? My email is [email protected]

1 Answer 1

1

In Drupal 6, there is no easy way to do that. It might work if you implement hook_menu_alter() in a custom module and add a different permission in access arguments that the default.

It might not help you at this point, but I have taken over that module for Drupal 7 and we have improved it a lot. Among many other things, it now has separate add/edit and moderate permissions which allow for fine-grained access control. So if you are just starting your site, you might want to consider using Drupal 7 instead.

1
  • I can't do that, it's already done and in production... Can you give me some more info on how to do that hook_menu_alter()? May 17, 2011 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.