UI: FortSettings: Add hasMasterAdmin()

This commit is contained in:
Nodir Temirkhodjaev 2022-01-10 07:47:56 +03:00
parent 249658688b
commit 5f197a7d59

View File

@ -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; }