Welcome Guest, Not a member yet? Register   Sign In
Community Auth - User Levels
#2

What I usually do is have a form dropdown that allows the creator to select the created user's role, and then in the form validation confirm that the posted level is allowed for the logged in user. So for instance, if your admin is level 99 and the creator is some other role, like level 40 (supervisor), you don't want a level 40 user to alter the form and create a level 99 user.

So there is no short answer here, and that's part of the reason why Community Auth only comes with very basic examples. You just need to hammer out your own solution.
Reply


Messages In This Thread
Community Auth - User Levels - by easymusic - 08-24-2016, 02:05 AM
RE: Community Auth - User Levels - by skunkbad - 08-24-2016, 06:18 PM
RE: Community Auth - User Levels - by easymusic - 08-31-2016, 03:36 AM
RE: Community Auth - User Levels - by skunkbad - 08-31-2016, 06:53 AM
RE: Community Auth - User Levels - by easymusic - 08-31-2016, 09:53 AM
RE: Community Auth - User Levels - by skunkbad - 08-31-2016, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB