Added roles support
This commit is contained in:
parent
2b00c8425d
commit
da9eedc94e
17 changed files with 390 additions and 250 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Reference in a new issue