Function __global->set_category_permissions_from_environment

Definitions

sources/permissions2.php

  • Assuming that permission details are POSTed, set the permissions for the specified category, in the current page.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$permission_module ID_TEXT required parameter N/A N/A The permission module being checked for category access
$category ID_TEXT required parameter N/A N/A The category being checked for access (often, a number cast to a string)
$page ?ID_TEXT Null N/A N/A The page this is for (null: current page)