Added roles support

This commit is contained in:
Valentino K 2022-05-17 11:52:08 +02:00
parent 2b00c8425d
commit da9eedc94e
17 changed files with 390 additions and 250 deletions

View file

@ -6,12 +6,12 @@ import { AuthActionTypes } from './actions';
import { transformAuthUser } from '../transformations';
const initialCurrentUserState: User = {
email: null,
name: null,
id: null,
role_id: null,
status: null,
preferredUsername: null,
email: '',
name: '',
id: '',
app_roles: [],
status: '',
preferredUsername: '',
};
const initialState: AuthState = {