mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
Temporarily set the permissions of a normal user to admin in ebac, before I have a way of simply creating admin accounts.
This commit is contained in:
parent
3817221dbd
commit
f31e57705f
@ -216,8 +216,12 @@ void RBACModel::create_default_entries() {
|
||||
user.instance();
|
||||
|
||||
user->name = "User";
|
||||
user->base_permissions = RBAC_PERMISSION_READ;
|
||||
user->rank_permissions = 0;
|
||||
//user->base_permissions = RBAC_PERMISSION_READ;
|
||||
//user->rank_permissions = 0;
|
||||
|
||||
//temporary!
|
||||
user->base_permissions = RBAC_PERMISSION_ALL;
|
||||
user->rank_permissions = RBAC_RANK_PERMISSION_ADMIN_PANEL;
|
||||
|
||||
save_rank(user);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user