<?php
/**
 * The config items for rights.
 *
 * @copyright   Copyright 2009-2023 禅道软件（青岛）有限公司(ZenTao Software (Qingdao) Co., Ltd., www.zentao.net)
 * @license     ZOSL (https://zpl.pub/page/zoslv1.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     config
 * @version     $Id$
 * @link        https://xuanim.com
 */
/* Init the rights. */
$config->rights = new stdclass();

$config->rights->guest = array();

$config->rights->member['index']['index']           = 'index';
$config->rights->member['entry']['visit']           = 'visit';
$config->rights->member['entry']['blocks']          = 'blocks';
$config->rights->member['entry']['setblock']        = 'setblock';
$config->rights->member['entry']['printblock']      = 'printblock';
$config->rights->member['entry']['customsort']      = 'customsort';
$config->rights->member['entry']['updateentrymenu'] = 'updateentrymenu';

$config->rights->member['user']['profile']        = 'profile';
$config->rights->member['user']['thread']         = 'thread';
$config->rights->member['user']['reply']          = 'reply';
$config->rights->member['user']['message']        = 'message';
$config->rights->member['user']['setreferer']     = 'setreferer';
$config->rights->member['user']['changepassword'] = 'changepassword';
$config->rights->member['user']['vcard']          = 'vcard';
$config->rights->member['user']['uploadavatar']   = 'uploadavatar';
$config->rights->member['file']['uploadchatavatar']   = 'uploadchatavatar';

$config->rights->member['user']['cropavatar']     = 'cropavatar';
$config->rights->member['user']['changeavatar']   = 'changeavatar';
$config->rights->member['user']['editself']       = 'editself';

$config->rights->member['search']['buildform']   = 'buildform';
$config->rights->member['search']['buildquery']  = 'buildquery';
$config->rights->member['search']['savequery']   = 'savequery';
$config->rights->member['search']['deletequery'] = 'deletequery';

$config->rights->member['misc']['qrcode']   = 'qrcode';
$config->rights->member['misc']['about']    = 'about';
$config->rights->member['tree']['redirect'] = 'redirect';

$config->rights->member['action']['createrecord'] = 'createrecord';
$config->rights->member['action']['editrecord']   = 'editrecord';
$config->rights->member['action']['history']      = 'history';
$config->rights->member['action']['editcomment']  = 'editcomment';
$config->rights->member['action']['read']         = 'read';

$config->rights->member['file']['buildform']      = 'buildform';
$config->rights->member['file']['buildlist']      = 'buildlist';
$config->rights->member['file']['printfiles']     = 'printfiles';
$config->rights->member['file']['ajaxupload']     = 'ajaxupload';
$config->rights->member['file']['browse']         = 'browse';
$config->rights->member['file']['senddownheader'] = 'senddownheader';
$config->rights->member['file']['ajaxpasteimage'] = 'ajaxpasteimage';
$config->rights->member['file']['filemanager']    = 'filemanager';
$config->rights->member['file']['sort']           = 'sort';

$config->rights->member['client']['downloadclient']       = 'downloadclient';
$config->rights->member['client']['ajaxgetclientpackage'] = 'ajaxgetclientpackage';
$config->rights->member['client']['ajaxgetpackagesize']   = 'ajaxgetpackagesize';
$config->rights->member['client']['ajaxsetclientconfig']  = 'ajaxsetclientconfig';

$config->rights->member['device']['browse'] = 'browse';
$config->rights->member['device']['remove'] = 'remove';
