handlers: permisison check for all pages + retrieve user-specific permissions for pages (if any)

This commit is contained in:
2019-05-03 15:59:29 +02:00
szülő e87c3a0f4d
commit 7630301168
23 fájl változott, egészen pontosan 167 új sor hozzáadva és 34 régi sor törölve

Fájl megtekintése

@@ -9,10 +9,7 @@ class HandlerPageView : public HandlerPage
{
protected:
bool canAccess(std::string page) override;
std::string accessErrorMessage() override
{
return "You don't have permission to view this page";
}
std::string accessErrorMessage() override;
std::string createIndexContent(IParser &parser, std::string content);
public: