method add documentation in bbn\User\Permissions
Grants a new permission to a user or a group.
function(string $id_option, string $type = 'access')
{
if ($id_option = $this->_get_id_option($id_option, $type)) {
return $this->pref->setByOption($id_option, []);
}
return null;
}
Grants a new permission to a user or a group. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions