So, I've set it up so that a given role can create new users and assign them roles. What I really would like to do is to restrict which roles that role can assign. Is there a way to do this? If it's necessary I can set it up so that no users (other than administrators) could assign roles other than a selected handful that I would like them to assign, but specifying a certain role that has those restrictions would be preferable.
You can't directly set permissions to restrict user to only be able to add certain roles. But you can use Sitecore local managed domain to sort of workaround this issue.
Basically, you would have
- One or more Locally managed Domain
- Within each local domain, the user with local administrator role can only assign it's own domain level roles to a user.
Sitecore Local Administrator
Sitecore local administrators can log in to Sitecore and manage the security applications (including assigning security) within that domain. A local administrator cannot create domains or associate domains to users.
Some links that might be helpful