mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
#179 열람 권한이 없더라도 작성 권한이 있으면 작성이 되도록 하였으며 자신이 쓴 글에 대해서는 열람할 수 있게 하여 권한에 대한 정리를 하여 직관적인 사용이 가능하도록 하였습니다.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2669 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
126c36edd0
commit
a185b1fda5
7 changed files with 205 additions and 230 deletions
|
|
@ -89,7 +89,7 @@
|
|||
} else {
|
||||
|
||||
// 글 보기 권한을 체크해서 권한이 없으면 오류 메세지 출력하도록 처리
|
||||
if(!$this->grant->view) {
|
||||
if(!$this->grant->view && !$oDocument->isGranted()) {
|
||||
|
||||
$oDocument = null;
|
||||
$oDocument = $oDocumentModel->getDocument(0, $this->grant->manager);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue