rcpp_framework/modules/rbac_users/rbac_user_controller.h

23 lines
558 B
C
Raw Normal View History

2021-11-10 15:32:44 +01:00
#ifndef RBAC_USER_CONTROLLER_H
#define RBAC_USER_CONTROLLER_H
#include "modules/users/user_controller.h"
class Request;
2021-11-10 15:32:44 +01:00
class RBACUserController : public UserController {
RCPP_OBJECT(RBACUserController, UserController);
public:
//just session setup
static void rbac_user_session_setup_middleware(Object *instance, Request *request);
//this one also handles missing read permission / redirect
static void rbac_default_user_session_middleware(Object *instance, Request *request);
2021-11-10 15:32:44 +01:00
RBACUserController();
~RBACUserController();
protected:
};
#endif