2021-10-31 21:45:12 +01:00
|
|
|
#ifndef RBAC_RANK_H
|
|
|
|
#define RBAC_RANK_H
|
|
|
|
|
2021-11-01 17:51:54 +01:00
|
|
|
#include "core/string.h"
|
|
|
|
#include "core/containers/vector.h"
|
2021-10-31 21:45:12 +01:00
|
|
|
|
2021-11-01 17:51:54 +01:00
|
|
|
#include "core/resource.h"
|
2021-10-31 21:45:12 +01:00
|
|
|
|
|
|
|
#include "rbac_permission.h"
|
|
|
|
|
|
|
|
class RBACRank : public Resource {
|
|
|
|
RCPP_OBJECT(RBACRank, Resource);
|
|
|
|
|
|
|
|
public:
|
|
|
|
int id;
|
|
|
|
|
2021-11-01 17:51:54 +01:00
|
|
|
String name;
|
|
|
|
String name_internal;
|
|
|
|
String settings;
|
2021-10-31 21:45:12 +01:00
|
|
|
|
2021-11-01 15:12:09 +01:00
|
|
|
int rank_permissions;
|
|
|
|
|
2021-11-01 17:51:54 +01:00
|
|
|
Vector<Ref<RBACPermission> > permissions;
|
2021-10-31 21:45:12 +01:00
|
|
|
|
|
|
|
RBACRank();
|
|
|
|
~RBACRank();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|