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

This commit is contained in:
Kyeongdae 2016-01-18 19:15:28 +09:00 committed by Kijin Sung
parent 61c54504ef
commit ea7d60360e
2 changed files with 6 additions and 1 deletions

View file

@ -74,7 +74,7 @@ class boardView extends board
* 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'))