Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
username: "username",
prefs: {},
isAdmin: false,
- isActive: true
+ isActive: true,
+ canWrite: false,
+ canManage: false,
};
const state = reducer(initialState, authActions.INIT_USER({ user, token: "token" }));
expect(state).toEqual({
username: "username",
prefs: {},
isAdmin: false,
- isActive: true
+ isActive: true,
+ canWrite: false,
+ canManage: false,
};
const state = reducer(initialState, authActions.USER_DETAILS_SUCCESS(user));