AdminSettingForm show and hide for different user role
This commit is contained in:
@@ -59,6 +59,7 @@ public:
|
||||
mf_Password = false;
|
||||
}
|
||||
bool submitChange();
|
||||
bool isAdmin();
|
||||
private:
|
||||
static User* currentUser;
|
||||
|
||||
@@ -70,6 +71,7 @@ private:
|
||||
USER_PROPERTIES_MACRO()
|
||||
#undef USER_PROPERTY
|
||||
#undef USER_READONLY_PROPERTY
|
||||
int isAdminFlag = -1;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user