1
0

handlers: HandlerPageEdit: canAccess(): Check with effectivePermisisons()

Este cometimento está contido em:
Albert S. 2021-10-25 18:07:23 +02:00
ascendente 6304554358
cometimento ad42c0f046

Ver ficheiro

@ -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()