-
Notifications
You must be signed in to change notification settings - Fork 1
reference:U userHasPermission
Aaron Junker edited this page Mar 20, 2021
·
4 revisions
Function userHasPermission(string $module, string $submodule = "", string $subsubmodule = "", bool $debug = False):bool
- since Pb2.5Bfx0
- returns
bool - in file
/includes/addPage.inc.php
Queries if the currently logged in user has a permission to do something. More information for the permission system can be found here.
Name of the module.
Name of the submodule.
Name of the subsubmodule.
True if the user has the permission and False if not.
$U->addPage("blog", "Test", "<p>test</p>", 1, date("Y-m-d"), 1);Manuals
- manual:Download-and-install-USOC
- manual:How to install USOC manually
- manual:plugins
- manual:Set-up-oAuth-with-google
Github Manuals
Reference Index