One Hat Cyber Team
Your IP :
216.73.216.182
Server IP :
203.175.9.166
Server :
Linux tanggamus.iixcp.rumahweb.net 5.14.0-427.28.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 2 03:44:10 EDT 2024 x86_64
Server Software :
LiteSpeed
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
cite5577
/
www
/
lib
/
pkp
/
classes
/
security
/
Edit File:
Role.inc.php
<?php /** * @file classes/security/Role.inc.php * * Copyright (c) 2014-2021 Simon Fraser University * Copyright (c) 2003-2021 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class Role * @ingroup security * @see RoleDAO * * @brief Describes generic PKP user roles within the system and the associated permissions. */ /** ID codes and paths for all default roles */ define('ROLE_ID_MANAGER', 0x00000010); define('ROLE_ID_SITE_ADMIN', 0x00000001); define('ROLE_ID_SUB_EDITOR', 0x00000011); define('ROLE_ID_AUTHOR', 0x00010000); define('ROLE_ID_REVIEWER', 0x00001000); define('ROLE_ID_ASSISTANT', 0x00001001); define('ROLE_ID_READER', 0x00100000); define('ROLE_ID_SUBSCRIPTION_MANAGER', 0x00200000); class Role extends DataObject { /** * Constructor. * @param $roleId for this role. Default to null for backwards * compatibility */ function __construct($roleId = null) { parent::__construct(); $this->setId($roleId); } // // Get/set methods // /** * Get role ID of this role. * @return int */ function getRoleId() { return $this->getId(); } /** * Set role ID of this role. * @param $roleId int */ function setRoleId($roleId) { return $this->setId($roleId); } }
Simpan