mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
Add view the vote list permission
This commit is contained in:
parent
cbec18a81f
commit
7532ee7687
2 changed files with 5 additions and 1 deletions
|
|
@ -1212,10 +1212,11 @@ class boardView extends board
|
|||
|
||||
function dispBoardVoteLog()
|
||||
{
|
||||
iF(Context::get('logged_info')->is_admin !== 'Y')
|
||||
iF($this->grant->vote_log_view !== true)
|
||||
{
|
||||
return new Object(-1, 'msg_not_permitted');
|
||||
}
|
||||
|
||||
$oMemberModel = getModel('member');
|
||||
|
||||
$target = Context::get('target');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue