6 lines
242 B
JavaScript
6 lines
242 B
JavaScript
|
|
/** Portal-/Plattformrollen auf Profil-Ebene mit besonderem Schutz (Passwort-/Rechte-Angriffsfläche). */
|
||
|
|
export function isEscalatedPortalRole(role) {
|
||
|
|
const r = (role || 'user').toLowerCase()
|
||
|
|
return r === 'admin' || r === 'superadmin'
|
||
|
|
}
|