handlers: HandlerPageEdit: canAccess(): Check with effectivePermisisons()
Tento commit je obsažen v:
rodič
6304554358
revize
ad42c0f046
@ -25,7 +25,7 @@ SOFTWARE.
|
||||
#include "../parser.h"
|
||||
bool HandlerPageEdit::canAccess([[maybe_unused]] std::string page)
|
||||
{
|
||||
return this->userSession->user.permissions.canEdit();
|
||||
return effectivePermissions(page).canEdit();
|
||||
}
|
||||
|
||||
bool HandlerPageEdit::pageMustExist()
|
||||
|
Načítá se…
Odkázat v novém úkolu
Zablokovat Uživatele