mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
기본 애드온 활성화 대상을 변경(자동링크, 이미지자동 리사이즈 활성화), 게시물의 소속 모듈이 다르게 접근시 접근 금지 시킴
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4208 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2ae3b0e54d
commit
73b676ad32
3 changed files with 7 additions and 2 deletions
|
|
@ -125,6 +125,9 @@
|
|||
// 글이 존재하면 글 보기 권한에 대한 확인과 조회수증가/ 브라우저 타이틀의 설정을 함
|
||||
} else {
|
||||
|
||||
// 글과 요청된 모듈이 다르다면 오류 표시
|
||||
if($oDocument->get('module_srl')!=Context::get('module_srl') ) return $this->stop('msg_invalid_request');
|
||||
|
||||
// 관리 권한이 있다면 권한을 부여
|
||||
if($this->grant->manager) $oDocument->setGrant();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue