Auth user
Auth user - object with base user's info, it's roles and permissions. Some details can be found in CP-3290 ticket.
Structure:
export class AuthUser {
id: string;
type: UserTypes; // see '_global/src/auth/user-types.ts'
name: string;
email: string;
roles: string[]; // see '_global/src/auth/user-roles.ts'
permissions?: string[];
}