모바일 게시판 상담글 조회 권한 추가.

This commit is contained in:
Kyeongdae 2016-02-01 10:45:52 +09:00 committed by Kijin Sung
parent ea7d60360e
commit 7822e9c070

View file

@ -55,7 +55,7 @@ class boardMobile extends boardView
* check the consultation function, if the user is admin then swich off consultation function
* if the user is not logged, then disppear write document/write comment./ view document
**/
if($this->module_info->consultation == 'Y' && !$this->grant->manager)
if($this->module_info->consultation == 'Y' && !$this->grant->manager && !$this->grant->consultation_read)
{
$this->consultation = true;
if(!Context::get('is_logged')) $this->grant->list = $this->grant->write_document = $this->grant->write_comment = $this->grant->view = false;