rcpp_framework/modules/rbac_users/rbac_user.h

24 lines
370 B
C++

#ifndef RBAC_USER_H
#define RBAC_USER_H
#include "core/string.h"
#include "modules/users/user.h"
#include "modules/rbac/rbac_rank.h"
class Request;
class FormValidator;
class RBACUser : public User {
RCPP_OBJECT(RBACUser, User);
public:
Ref<RBACRank> rbac_rank;
bool has_permission(Request *request, const int permission);
RBACUser();
~RBACUser();
};
#endif