Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@Matthijn: ok, I think the plug-in in the first answer can do that sort of thing. That's probably a better answer for you if this one doesn't seem so handy. FWIW, I think solutions like that add to plug-in bloat and slow sites. Always a best practice to do this sort of thing directly if you know how.
@Matthijn: I think you misunderstand. You can do that. You can make a custom role that has any of the capabilities. You can combine of make new roles as you see fit.
@Programming: All external data cannot be trusted and must be validated once it reaches the web server to make sure it is what you expect. If you are doing something like passing important data fields in forms, that data must be validated. If you expect it to be safe from tampering, you should not pass it through the browser but should instead pass it through session variables so that it is not in the hands of the visitor/hacker.