SMF Support > SMF 2.0.x Support

Update permissions

<< < (2/3) > >>

dipsy:
SQL query for this update is??

Kays:
Hi, if the user is an admin. Any permission checks are automatically returned as true. So a query won't help.

From the allowedTo() function in Security.php


--- Code: --- // Administrators are supermen :P.
if ($user_info['is_admin'])
return true;

--- End code ---

dipsy:
I do not understand. What should I do?

Colin:
It is best to ask the mod author for a specific question regarding the modification.

dipsy:
Author not known
Solution?  :(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version