mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:46:03 +00:00
UI: FortSettings: Add hasMasterAdmin()
This commit is contained in:
parent
249658688b
commit
5f197a7d59
@ -23,6 +23,7 @@ public:
|
||||
bool hasService() const { return m_hasService; }
|
||||
|
||||
bool isMaster() const { return !hasService() || isService(); }
|
||||
bool hasMasterAdmin() const { return hasService() || isUserAdmin(); }
|
||||
|
||||
bool isUserAdmin() const { return m_isUserAdmin; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user