Файл edit-groups.php

обработчик установки групп доступа для модели Подробнее...

См. исходные тексты.

Переменные

if(!($row=Wrong\Database\Controller::find($_POST['id'], 'id', $_POST['table']))) if(! $user->access() ->write($row, true)) if($_POST['table']=='users') else
 

Подробное описание

обработчик установки групп доступа для модели

См. определение в файле edit-groups.php

Переменные

◆ else

if (!( $row=Wrong\Database\Controller::find( $_POST[ 'id'], 'id', $_POST[ 'table']))) if (! $user->access() ->write( $row, true)) if ( $_POST[ 'table']=='users') else
Инициализатор
{
$groups = array_map('intval', array_values(array_intersect(array_column(Wrong\Rights\Group::$groups_not_system, 'id'), empty($_POST['groups']) ? [] : array_keys($_POST['groups']))))
$_POST['groups']
Definition: add-action.php:16
if(!($row=Wrong\Database\Controller::find($_GET['id'], 'id', $_GET['table']))) $groups
Definition: edit-groups.php:14

См. определение в файле edit-groups.php строка 22