17 $protected =
$statconfig->getBoolean(
'protected',
false);
19 $allowedusers =
$statconfig->getValue(
'allowedUsers',
null);
23 if ($acl !==
null && !is_string($acl) && !is_array($acl)) {
53 if (!empty($allowedusers)) {
56 throw new Exception(
'User ID is missing');
An exception for terminatinating execution or to throw for unit testing.
static requireAdmin()
Require admin access to the current page.
static checkAccess(SimpleSAML_Configuration $statconfig)
Check that the user has access to the statistics.
Attribute-related utility methods.