From 5216e17cccb7659fb7817931503ab1657b96ef20 Mon Sep 17 00:00:00 2001 From: Gerald Baulig Date: Wed, 10 Jan 2024 17:21:48 +0100 Subject: [PATCH] fix(user): remove obsolete fields --- datasets/demo-shop/data/seed-data/users.yaml | 9 +--- datasets/system/data/seed-data/roles.yaml | 3 +- datasets/system/data/seed-data/users.yaml | 51 ++++++++++++++++++++ 3 files changed, 53 insertions(+), 10 deletions(-) diff --git a/datasets/demo-shop/data/seed-data/users.yaml b/datasets/demo-shop/data/seed-data/users.yaml index 531b98b..3e83c8f 100644 --- a/datasets/demo-shop/data/seed-data/users.yaml +++ b/datasets/demo-shop/data/seed-data/users.yaml @@ -54,7 +54,7 @@ value: store.restorecommerce.io tokens: - name: unauthenticated_token - token: restorecommerce-demo-unauthenticated-user + token: k2veMOlBe52yUNMHNYJvCmD3T9iAKCpB scopes: - user-r-role-assoc-id --- @@ -88,7 +88,6 @@ active: true activationCode: "" passwordHash: "" - unauthenticated: false guest: false image: id: "" @@ -149,7 +148,6 @@ active: true activationCode: "" passwordHash: "" - unauthenticated: false guest: false image: id: "" @@ -210,7 +208,6 @@ active: true activationCode: "" passwordHash: "" - unauthenticated: false guest: false image: id: "" @@ -271,7 +268,6 @@ active: true activationCode: "" passwordHash: "" - unauthenticated: false guest: false image: id: "" @@ -324,7 +320,6 @@ active: true activationCode: "" passwordHash: "" - unauthenticated: false guest: false image: id: "" @@ -377,7 +372,6 @@ active: true activationCode: "" passwordHash: "" - unauthenticated: false guest: false image: id: "" @@ -430,7 +424,6 @@ active: true activationCode: "" passwordHash: "" - unauthenticated: false guest: false image: id: "" diff --git a/datasets/system/data/seed-data/roles.yaml b/datasets/system/data/seed-data/roles.yaml index 1101fbe..710ed10 100644 --- a/datasets/system/data/seed-data/roles.yaml +++ b/datasets/system/data/seed-data/roles.yaml @@ -41,5 +41,4 @@ value: urn:restorecommerce:acs:model:organization.Organization attributes: - id: urn:restorecommerce:acs:names:ownerInstance - value: system ---- \ No newline at end of file + value: system \ No newline at end of file diff --git a/datasets/system/data/seed-data/users.yaml b/datasets/system/data/seed-data/users.yaml index e69de29..26316d2 100644 --- a/datasets/system/data/seed-data/users.yaml +++ b/datasets/system/data/seed-data/users.yaml @@ -0,0 +1,51 @@ +--- + id: tech_user + name: tech_user + firstName: Tech + lastName: User + email: tech_user@restorecommerce.io + password: CNQJrH%KAayeDpf3h + defaultScope: "" + roleAssociations: + - id: superadministrator-r-role-assoc-id + role: superadministrator-r-id + attributes: [] + localeId: de-de + timezoneId: europe-berlin + meta: + modifiedBy: "" + owners: + - id: urn:restorecommerce:acs:names:ownerIndicatoryEntity + value: urn:restorecommerce:acs:model:organization.Organization + attributes: + - id: urn:restorecommerce:acs:names:ownerInstance + value: system + - id: urn:restorecommerce:acs:names:ownerIndicatoryEntity + value: urn:restorecommerce:acs:model:user.User + attributes: + - id: urn:restorecommerce:acs:names:ownerInstance + value: tech_user + newEmail: "" + active: true + activationCode: "" + passwordHash: "" + guest: false + image: + id: "" + caption: "" + filename: "" + contentType: "" + url: "" + width: 0 + height: 0 + length: 0 + userType: "TECHNICAL_USER" + invite: false + invitedByUserName: "" + invitedByUserFirstName: "" + invitedByUserLastName: "" + tokens: + - name: tech_user_token + token: 123099ffc93b44f6b4a81b1e5589b642 + scopes: + - superadministrator-r-role-assoc-id \ No newline at end of file