Skip to content

Commit

Permalink
Check create priv against root term
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Jan 28, 2015
1 parent d0a3711 commit 9101e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/qubit/modules/term/actions/editAction.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected function earlyExecute()
else
{
// Check authorization
if (!QubitAcl::check($this->resource, 'create'))
if (!QubitAcl::check(QubitTerm::getRoot(), 'create'))
{
QubitAcl::forwardUnauthorized();
}
Expand Down

0 comments on commit 9101e77

Please sign in to comment.