The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Permissions
#1
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
Code:
$query = $db->query("SELECT * FROM user_permission_matches WHERE user_id = ?", array($num));
?
Or does UserSpice offers some functions for that?
Thanks,
Sebastian
  Reply


Messages In This Thread
Permissions - by Sebastian - 08-23-2016, 10:39 AM
Permissions - by mudmin - 08-23-2016, 12:38 PM
Permissions - by Sebastian - 08-24-2016, 05:11 AM
Permissions - by mudmin - 08-24-2016, 12:44 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)