Hi,
I've added some Permission Levels and wanted to use these permissions to allow or disallow users access to sites/functions etc. I found that the permissions are saved in the database in the table "user_permission_matches".
So, is it the way to have access to the permissions to query this table, like
Or does UserSpice offers some functions for that?
Thanks,
Sebastian
I've added some Permission Levels and wanted to use these permissions to allow or disallow users access to sites/functions etc. I found that the permissions are saved in the database in the table "user_permission_matches".
So, is it the way to have access to the permissions to query this table, like
$query = $db->query("SELECT * FROM user_permission_matches WHERE user_id = ?", array($num));?Or does UserSpice offers some functions for that?
Thanks,
Sebastian