AdminPermissions class abstract final

Permissões e papéis padrão do Flenx (sirva-se ou defina os seus).

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

admin → const AppRole
Acesso total.
all → const List<AppRole>
editHome → const String
editor → const AppRole
Conteúdo e home, sem usuários nem configurações sensíveis.
manageContent → const String
manageOrders → const String
manageProducts → const String
manageUsers → const String
roleNames → const List<String>
Nomes dos papéis (para selects de formulário).
settings → const String
viewer → const AppRole
Só leitura (nenhuma permissão de gestão).