PHP code example of bitrix-expert / niceaccess

1. Go to this page and download the library: Download bitrix-expert/niceaccess library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bitrix-expert / niceaccess example snippets


<?
$PERM["admin"][\Bex\Tools\Group\GroupTools::find('CONTROL_PANEL_USERS', true)->id()]="R";
$PERM["admin"]["*"]="D";