From 3d14a8fb7880e5b100af635e84f2d4d3777976c9 Mon Sep 17 00:00:00 2001 From: akasima Date: Thu, 10 Apr 2014 13:21:50 +0900 Subject: [PATCH] =?UTF-8?q?#560=20=ED=8C=8C=EC=9D=BC=20=EB=8B=A4=EC=9A=B4?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20=EC=8B=9C=20module=5Fsrl=20=EA=B6=8C?= =?UTF-8?q?=ED=95=9C=20=ED=99=95=EC=9D=B8=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/file/file.controller.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index 6c27cea0f..146e5a76d 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -160,6 +160,8 @@ class fileController extends file { $oFileModel = getModel('file'); + if(isset($this->grant->access) && $this->grant->access !== true) return new Object(-1, 'msg_not_permitted'); + $file_srl = Context::get('file_srl'); $sid = Context::get('sid'); $logged_info = Context::get('logged_info');