X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d81ed360051af98d7c0fba3afb07a4b5a815ee41..42fff42165a0fa1602758a078746f8697f265f83:/services/api/test/fixtures/users.yml diff --git a/services/api/test/fixtures/users.yml b/services/api/test/fixtures/users.yml index 46fbd0f289..14630d9efa 100644 --- a/services/api/test/fixtures/users.yml +++ b/services/api/test/fixtures/users.yml @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html system_user: @@ -30,6 +34,7 @@ admin: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z miniadmin: owner_uuid: zzzzz-tpzed-000000000000000 @@ -45,6 +50,7 @@ miniadmin: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z rominiadmin: owner_uuid: zzzzz-tpzed-000000000000000 @@ -60,21 +66,42 @@ rominiadmin: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z active: owner_uuid: zzzzz-tpzed-000000000000000 uuid: zzzzz-tpzed-xurymjxw79nv3jz email: active-user@arvados.local + modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz first_name: Active last_name: User identity_url: https://active-user.openid.local is_active: true is_admin: false + modified_at: 2015-03-26 12:34:56.789000000 Z username: active prefs: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +federated_active: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zbbbb-tpzed-xurymjxw79nv3jz + email: zbbbb-active-user@arvados.local + first_name: Active + last_name: User + identity_url: https://federated-active-user.openid.local + is_active: true + is_admin: false + username: federatedactive + prefs: + profile: + organization: example.com + role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z project_viewer: owner_uuid: zzzzz-tpzed-000000000000000 @@ -90,6 +117,7 @@ project_viewer: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z future_project_user: # Workbench tests give this user permission on aproject. @@ -106,6 +134,7 @@ future_project_user: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z subproject_admin: owner_uuid: zzzzz-tpzed-000000000000000 @@ -121,6 +150,7 @@ subproject_admin: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z spectator: owner_uuid: zzzzz-tpzed-000000000000000 @@ -136,6 +166,23 @@ spectator: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +container_runtime_token_user: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-l3skomkti0c4vg4 + email: spectator@arvados.local + first_name: Spect + last_name: Ator + identity_url: https://container_runtime_token_user.openid.local + is_active: true + is_admin: false + username: containerruntimetokenuser + prefs: + profile: + organization: example.com + role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z inactive_uninvited: owner_uuid: zzzzz-tpzed-000000000000000 @@ -157,6 +204,7 @@ inactive: identity_url: https://inactive-user.openid.local is_active: false is_admin: false + username: inactiveuser prefs: {} inactive_but_signed_user_agreement: @@ -172,6 +220,7 @@ inactive_but_signed_user_agreement: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z anonymous: owner_uuid: zzzzz-tpzed-000000000000000 @@ -189,7 +238,7 @@ job_reader: email: jobber@arvados.local first_name: Job last_name: Er - identity_url: https://spectator.openid.local + identity_url: https://job_reader.openid.local is_active: true is_admin: false username: jobber @@ -197,6 +246,23 @@ job_reader: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +job_reader2: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-readjobwithcomp + email: job_reader2@arvados.local + first_name: Job + last_name: Reader2 + identity_url: https://job_reader2.openid.local + is_active: true + is_admin: false + username: jobreader2 + prefs: + profile: + organization: example.com + role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z active_no_prefs: owner_uuid: zzzzz-tpzed-000000000000000 @@ -209,7 +275,7 @@ active_no_prefs: is_admin: false prefs: {} -active_no_prefs_profile: +active_no_prefs_profile_no_getting_started_shown: owner_uuid: zzzzz-tpzed-000000000000000 uuid: zzzzz-tpzed-a46c98d1td4aoj4 email: active_no_prefs_profile@arvados.local @@ -221,6 +287,32 @@ active_no_prefs_profile: prefs: test: abc +active_no_prefs_profile_with_getting_started_shown: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-getstartnoprofl + email: active_no_prefs_profile@arvados.local + first_name: HasPrefs + last_name: NoProfileWithGettingStartedShown + identity_url: https://active_no_prefs_profile_seen_gs.openid.local + is_active: true + is_admin: false + prefs: + test: abc + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +active_with_prefs_profile_no_getting_started_shown: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-nogettinstarted + email: active_nogettinstarted@arvados.local + first_name: HasPrefsProfile + last_name: NoGettingStartedShown + identity_url: https://active_nogettinstarted.openid.local + is_active: true + prefs: + profile: + organization: example.com + role: Computational biologist + # Fixtures to test granting and removing permissions. user_foo_in_sharing_group: @@ -254,10 +346,12 @@ user1_with_load: identity_url: https://user1_with_load.openid.local is_active: true is_admin: false + username: user1withload prefs: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z fuse: owner_uuid: zzzzz-tpzed-000000000000000 @@ -273,3 +367,68 @@ fuse: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +permission_perftest: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-permissionptest + email: fuse@arvados.local + first_name: FUSE + last_name: User + identity_url: https://permission_perftest.openid.local + is_active: true + is_admin: false + username: perftest + prefs: + profile: + organization: example.com + role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +redirects_to_active: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-1au3is3g3chtthd + email: redirects-to-active-user@arvados.local + first_name: Active2 + last_name: User2 + identity_url: https://redirects-to-active-user.openid.local + is_active: true + is_admin: false + username: redirect_active + redirect_to_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + prefs: + profile: + organization: example.com + role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +double_redirects_to_active: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-oiusowoxoz0pk3p + email: double-redirects-to-active-user@arvados.local + first_name: Active3 + last_name: User3 + identity_url: https://double-redirects-to-active-user.openid.local + is_active: true + is_admin: false + username: double_redirect_active + redirect_to_user_uuid: zzzzz-tpzed-1au3is3g3chtthd + prefs: + profile: + organization: example.com + role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z + +has_can_login_permission: + owner_uuid: zzzzz-tpzed-000000000000000 + uuid: zzzzz-tpzed-xabcdjxw79nv3jz + email: can-login-user@arvados.local + modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + first_name: Can_login + last_name: User + identity_url: https://can-login-user.openid.local + is_active: true + is_admin: false + modified_at: 2015-03-26 12:34:56.789000000 Z + username: can-login-user