rcpp_framework/modules/rbac/rbac_permission.h

26 lines
401 B
C
Raw Normal View History

#ifndef RBAC_PERMISSION_H
#define RBAC_PERMISSION_H
#include "core/string.h"
#include "core/resource.h"
class RBACPermission : public Resource {
RCPP_OBJECT(RBACPermission, Resource);
public:
int id;
int rank_id;
String name;
String url;
bool revoke;
int sort_order;
int permissions;
2021-11-02 12:26:26 +01:00
bool is_smaller(const Ref<RBACPermission> &b) const;
RBACPermission();
~RBACPermission();
};
#endif