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
父節點 e87c3a0f4d
當前提交 7630301168
共有 23 個文件被更改,包括 167 次插入34 次删除

查看文件

@@ -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: