Ryzom Account Management System
1.0
|
Functions | |
change_permission () | |
This function is beign used to change the permission of a ticket_user. |
This function is beign used to change the permission of a ticket_user.
It will first check if the user who executed this function is an admin. If this is not the case the page will be redirected to an error page. in case the $_GET['value'] is smaller than 4 and the user whoes permission is being changed is different from the admin(id 1), the change will be executed and the page will redirect to the users profile page.