불필요한 권한 설정 삭제

문서 관리 권한이 없음에도 모든 모듈 관리자의 isGranted() 값이 true로 지정되는 문제
This commit is contained in:
dewekk 2024-11-20 19:53:27 +09:00 committed by GitHub
parent b6ba2cf685
commit 697eb5d909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -289,9 +289,6 @@ class BoardView extends Board
}
}
// check the manage grant
if($this->grant->manager) $oDocument->setGrant();
// if the consultation function is enabled, and the document is not a notice
if($this->consultation && !$oDocument->isNotice())
{