mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
모바일 게시판 상담글 조회 권한 추가.
This commit is contained in:
parent
ea7d60360e
commit
7822e9c070
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class boardMobile extends boardView
|
||||||
* check the consultation function, if the user is admin then swich off consultation function
|
* 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 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;
|
$this->consultation = true;
|
||||||
if(!Context::get('is_logged')) $this->grant->list = $this->grant->write_document = $this->grant->write_comment = $this->grant->view = false;
|
if(!Context::get('is_logged')) $this->grant->list = $this->grant->write_document = $this->grant->write_comment = $this->grant->view = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue