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

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'))

View file

@ -44,6 +44,11 @@
<title xml:lang="zh-TW">發表評論</title>
<title xml:lang="es">yorum yaz</title>
</grant>
<grant name="consultation_read" default="manager">
<title xml:lang="ko">상담글 조회</title>
<title xml:lang="en">Consultation Document Read</title>
<title xml:lang="jp">相談文照会</title>
</grant>
</grants>
<permissions>
<permission action="dispBoardAdminInsertBoard" target="manager" />