mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix potential vulnerabilities
This commit is contained in:
parent
0dd567bc00
commit
99d16d84c3
4 changed files with 141 additions and 39 deletions
|
|
@ -238,7 +238,7 @@ class documentView extends document
|
|||
throw new Rhymix\Framework\Exceptions\TargetNotFound;
|
||||
}
|
||||
// Check permissions
|
||||
if(!$oDocument->isAccessible())
|
||||
if(!$oDocument->isAccessible(true))
|
||||
{
|
||||
throw new Rhymix\Framework\Exceptions\NotPermitted;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue