|
|
|
|
@ -1,9 +1,7 @@
@@ -1,9 +1,7 @@
|
|
|
|
|
import { EncString } from "@bitwarden/common/platform/models/domain/enc-string"; |
|
|
|
|
import { Guid } from "@bitwarden/common/types/guid"; |
|
|
|
|
|
|
|
|
|
import { |
|
|
|
|
MemberAccessDetails, |
|
|
|
|
MemberAccessResponse, |
|
|
|
|
} from "../response/member-access-report.response"; |
|
|
|
|
import { MemberAccessResponse } from "../response/member-access-report.response"; |
|
|
|
|
|
|
|
|
|
export const memberAccessReportsMock: MemberAccessResponse[] = [ |
|
|
|
|
{ |
|
|
|
|
@ -11,223 +9,290 @@ export const memberAccessReportsMock: MemberAccessResponse[] = [
@@ -11,223 +9,290 @@ export const memberAccessReportsMock: MemberAccessResponse[] = [
|
|
|
|
|
email: "sjohnson@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
groupsCount: 2, |
|
|
|
|
collectionsCount: 4, |
|
|
|
|
totalItemCount: 20, |
|
|
|
|
userGuid: "1234", |
|
|
|
|
userGuid: "1001" as Guid, |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
accessDetails: [ |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c1", |
|
|
|
|
collectionName: new EncString("Collection 1"), |
|
|
|
|
groupName: "", |
|
|
|
|
itemCount: 10, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c2", |
|
|
|
|
collectionName: new EncString("Collection 2"), |
|
|
|
|
groupName: "", |
|
|
|
|
itemCount: 20, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c3", |
|
|
|
|
collectionName: new EncString("Collection 3"), |
|
|
|
|
groupName: "", |
|
|
|
|
itemCount: 30, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "g1", |
|
|
|
|
collectionId: "c1", |
|
|
|
|
collectionName: new EncString("Collection 1"), |
|
|
|
|
groupName: "Group 1", |
|
|
|
|
itemCount: 30, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "g1", |
|
|
|
|
collectionId: "c2", |
|
|
|
|
collectionName: new EncString("Collection 2"), |
|
|
|
|
groupName: "Group 1", |
|
|
|
|
itemCount: 20, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
], |
|
|
|
|
} as MemberAccessResponse, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c1", |
|
|
|
|
collectionName: new EncString("Collection 1"), |
|
|
|
|
groupName: "", |
|
|
|
|
itemCount: 10, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Sarah Johnson", |
|
|
|
|
email: "sjohnson@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
userGuid: "1001" as Guid, |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c2", |
|
|
|
|
collectionName: new EncString("Collection 2"), |
|
|
|
|
groupName: "", |
|
|
|
|
itemCount: 20, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Sarah Johnson", |
|
|
|
|
email: "sjohnson@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
userGuid: "1001" as Guid, |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c3", |
|
|
|
|
collectionName: new EncString("Collection 3"), |
|
|
|
|
groupName: "", |
|
|
|
|
itemCount: 30, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Sarah Johnson", |
|
|
|
|
email: "sjohnson@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
userGuid: "1001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "g1", |
|
|
|
|
collectionId: "c1", |
|
|
|
|
collectionName: new EncString("Collection 1"), |
|
|
|
|
groupName: "Group 1", |
|
|
|
|
itemCount: 30, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Sarah Johnson", |
|
|
|
|
email: "sjohnson@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
userGuid: "1001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "g1", |
|
|
|
|
collectionId: "c2", |
|
|
|
|
collectionName: new EncString("Collection 2"), |
|
|
|
|
groupName: "Group 1", |
|
|
|
|
itemCount: 20, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "James Lull", |
|
|
|
|
email: "jlull@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "2001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "g4", |
|
|
|
|
collectionId: "c4", |
|
|
|
|
groupName: "Group 4", |
|
|
|
|
collectionName: new EncString("Collection 4"), |
|
|
|
|
itemCount: 5, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "James Lull", |
|
|
|
|
email: "jlull@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "2001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "g4", |
|
|
|
|
collectionId: "c5", |
|
|
|
|
groupName: "Group 4", |
|
|
|
|
collectionName: new EncString("Collection 5"), |
|
|
|
|
itemCount: 15, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "James Lull", |
|
|
|
|
email: "jlull@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "2001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c4", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 4"), |
|
|
|
|
itemCount: 5, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "James Lull", |
|
|
|
|
email: "jlull@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
groupsCount: 2, |
|
|
|
|
collectionsCount: 4, |
|
|
|
|
totalItemCount: 20, |
|
|
|
|
userGuid: "1234", |
|
|
|
|
userGuid: "2001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c5", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 5"), |
|
|
|
|
itemCount: 15, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Beth Williams", |
|
|
|
|
email: "bwilliams@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
userGuid: "3001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
accessDetails: [ |
|
|
|
|
{ |
|
|
|
|
groupId: "g4", |
|
|
|
|
collectionId: "c4", |
|
|
|
|
groupName: "Group 4", |
|
|
|
|
collectionName: new EncString("Collection 4"), |
|
|
|
|
itemCount: 5, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "g4", |
|
|
|
|
collectionId: "c5", |
|
|
|
|
groupName: "Group 4", |
|
|
|
|
collectionName: new EncString("Collection 5"), |
|
|
|
|
itemCount: 15, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c4", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 4"), |
|
|
|
|
itemCount: 5, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c5", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 5"), |
|
|
|
|
itemCount: 15, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
], |
|
|
|
|
} as MemberAccessResponse, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c6", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 6"), |
|
|
|
|
itemCount: 25, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Beth Williams", |
|
|
|
|
email: "bwilliams@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
groupsCount: 2, |
|
|
|
|
collectionsCount: 4, |
|
|
|
|
totalItemCount: 20, |
|
|
|
|
userGuid: "1234", |
|
|
|
|
userGuid: "3001", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "g6", |
|
|
|
|
collectionId: "c4", |
|
|
|
|
groupName: "Group 6", |
|
|
|
|
collectionName: new EncString("Collection 4"), |
|
|
|
|
itemCount: 35, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Ray Williams", |
|
|
|
|
email: "rwilliams@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "4000", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c7", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 7"), |
|
|
|
|
itemCount: 8, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Ray Williams", |
|
|
|
|
email: "rwilliams@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "4000", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c8", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 8"), |
|
|
|
|
itemCount: 12, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Ray Williams", |
|
|
|
|
email: "rwilliams@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "4000", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c9", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 9"), |
|
|
|
|
itemCount: 16, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Ray Williams", |
|
|
|
|
email: "rwilliams@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "4000", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
groupId: "g9", |
|
|
|
|
collectionId: "c7", |
|
|
|
|
groupName: "Group 9", |
|
|
|
|
collectionName: new EncString("Collection 7"), |
|
|
|
|
itemCount: 8, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Ray Williams", |
|
|
|
|
email: "rwilliams@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
userGuid: "4000", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
accessDetails: [ |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c6", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 6"), |
|
|
|
|
itemCount: 25, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "g6", |
|
|
|
|
collectionId: "c4", |
|
|
|
|
groupName: "Group 6", |
|
|
|
|
collectionName: new EncString("Collection 4"), |
|
|
|
|
itemCount: 35, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
], |
|
|
|
|
} as MemberAccessResponse, |
|
|
|
|
groupId: "g10", |
|
|
|
|
collectionId: "c8", |
|
|
|
|
groupName: "Group 10", |
|
|
|
|
collectionName: new EncString("Collection 8"), |
|
|
|
|
itemCount: 12, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Ray Williams", |
|
|
|
|
email: "rwilliams@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
groupsCount: 2, |
|
|
|
|
collectionsCount: 4, |
|
|
|
|
totalItemCount: 20, |
|
|
|
|
userGuid: "1234", |
|
|
|
|
userGuid: "4000", |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
accessDetails: [ |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c7", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 7"), |
|
|
|
|
itemCount: 8, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c8", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 8"), |
|
|
|
|
itemCount: 12, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c9", |
|
|
|
|
groupName: "", |
|
|
|
|
collectionName: new EncString("Collection 9"), |
|
|
|
|
itemCount: 16, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "g9", |
|
|
|
|
collectionId: "c7", |
|
|
|
|
groupName: "Group 9", |
|
|
|
|
collectionName: new EncString("Collection 7"), |
|
|
|
|
itemCount: 8, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "g10", |
|
|
|
|
collectionId: "c8", |
|
|
|
|
groupName: "Group 10", |
|
|
|
|
collectionName: new EncString("Collection 8"), |
|
|
|
|
itemCount: 12, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
{ |
|
|
|
|
groupId: "g11", |
|
|
|
|
collectionId: "c9", |
|
|
|
|
groupName: "Group 11", |
|
|
|
|
collectionName: new EncString("Collection 9"), |
|
|
|
|
itemCount: 16, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
], |
|
|
|
|
} as MemberAccessResponse, |
|
|
|
|
groupId: "g11", |
|
|
|
|
collectionId: "c9", |
|
|
|
|
groupName: "Group 11", |
|
|
|
|
collectionName: new EncString("Collection 9"), |
|
|
|
|
itemCount: 16, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
export const memberAccessWithoutAccessDetailsReportsMock: MemberAccessResponse[] = [ |
|
|
|
|
@ -236,34 +301,33 @@ export const memberAccessWithoutAccessDetailsReportsMock: MemberAccessResponse[]
@@ -236,34 +301,33 @@ export const memberAccessWithoutAccessDetailsReportsMock: MemberAccessResponse[]
|
|
|
|
|
email: "asmith@email.com", |
|
|
|
|
twoFactorEnabled: true, |
|
|
|
|
accountRecoveryEnabled: true, |
|
|
|
|
groupsCount: 2, |
|
|
|
|
collectionsCount: 4, |
|
|
|
|
totalItemCount: 20, |
|
|
|
|
userGuid: "1234", |
|
|
|
|
userGuid: "1234" as Guid, |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
accessDetails: [ |
|
|
|
|
{ |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c1", |
|
|
|
|
collectionName: new EncString("Collection 1"), |
|
|
|
|
groupName: "Alice Group 1", |
|
|
|
|
itemCount: 10, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
} as MemberAccessDetails, |
|
|
|
|
], |
|
|
|
|
} as MemberAccessResponse, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c1", |
|
|
|
|
collectionName: new EncString("Collection 1"), |
|
|
|
|
groupName: "Alice Group 1", |
|
|
|
|
itemCount: 10, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
{ |
|
|
|
|
userName: "Robert Brown", |
|
|
|
|
email: "rbrown@email.com", |
|
|
|
|
twoFactorEnabled: false, |
|
|
|
|
accountRecoveryEnabled: false, |
|
|
|
|
groupsCount: 2, |
|
|
|
|
collectionsCount: 4, |
|
|
|
|
totalItemCount: 20, |
|
|
|
|
userGuid: "5678", |
|
|
|
|
userGuid: "5678" as Guid, |
|
|
|
|
usesKeyConnector: false, |
|
|
|
|
accessDetails: [] as MemberAccessDetails[], |
|
|
|
|
} as MemberAccessResponse, |
|
|
|
|
groupId: "", |
|
|
|
|
collectionId: "c1", |
|
|
|
|
collectionName: new EncString("Collection 1"), |
|
|
|
|
groupName: "", |
|
|
|
|
itemCount: 10, |
|
|
|
|
readOnly: false, |
|
|
|
|
hidePasswords: false, |
|
|
|
|
manage: false, |
|
|
|
|
cipherIds: [], |
|
|
|
|
} as unknown as MemberAccessResponse, |
|
|
|
|
]; |
|
|
|
|
|