mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
24 lines
370 B
C++
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 |