11-01-2016, 12:17 AM
We really made this more complicated than it had to be. Or maybe I just explained it horribly.
I used as a reference.
Basically, on the page, it grabs the permissions of a given user. However, we can tell it to get permissions of the current user by changing the value of to the current users value. In return, it posts the current users permissions, and we use the remove permissions function in a select option format instead, thus allowing the current user only to make accounts with the same permissions it has at maximum.
I'm actually kinda proud of myself
I used
Code:
admin_user.php
Basically, on the
Code:
admin_user.php
Code:
$userId
I'm actually kinda proud of myself