mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
게시판 상담글 조회 권한 추가.
This commit is contained in:
parent
61c54504ef
commit
ea7d60360e
2 changed files with 6 additions and 1 deletions
|
|
@ -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'))
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue