Hey guys,
I've been lurking around here for a while, but haven't done any posting. I was hoping for some help. I need to create a custom screen for a user with a specific role to add/remove users from specific roles. I also need to allow that user to edit/create rolls from a list of predefined permissions. I'm interested in what input you may have in how to best achieve this. Here are more details:
So far, I have created a content type containing business information. The content type has several custom fields with certain information about a business. I created a few roles. "Admin", "Level1", and "Level2". Level1 and Level2 will be assigned to members that join the site, Admin of course will be the site administrator. Currently, Level1 users are able to see basic info about a business. Level2 users have permissions to see more of the custom fields within my business content type.
Now, what I'd like to do is this:
Admin should have a screen where they can control which users have the Level1 role and which users have the Level2 role. This screen should only show those rolls and none of the other roles, so the built in role management will not work here.
The next thing is that the Admin should be able to edit these roles. They should see only the permissions for that role that I set up for them to see. I don't want them to see the full permissions list, just some of the permissions that I define.
Third, the Admin user needs to be able to add or remove roles, but only remove the roles Level1, Level2, or other rolls that they've added.
Any input?
Thanks in advance!