Function __global->_cns_group_absorb_privileges_of
Definitions
sources/cns_groups_action2.php
- Helper function, for copy permissions relating to one, to another.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$to | GROUP | required parameter | N/A | N/A | The record ID that is having its permissions replaced |
$from | GROUP | required parameter | N/A | N/A | The record ID that the permissions are being drawn from |
$table | ID_TEXT | required parameter | N/A | N/A | The table holding the permissions |
$id | ID_TEXT | group_id | N/A | N/A | The name of the field in the table that holds the ID |