mirror of
https://gitlab.com/comunic/comunicconsole
synced 2025-03-14 10:12:38 +00:00
12 lines
234 B
TypeScript
12 lines
234 B
TypeScript
/**
|
|
* Account utilities
|
|
*
|
|
* @author Pierre Hubert
|
|
*/
|
|
|
|
import { AccountHelper } from "../helpers/AccountHelper";
|
|
|
|
export function canManageAdmins(): boolean {
|
|
return AccountHelper.currentAccount.roles.includes("manage_admins");
|
|
}
|