X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0c3927322282606c3aa6e668641ec2b9e7f4d65e..0eb72b526bf8bbb011551ecf019f604e17a534f1:/services/api/test/fixtures/users.yml diff --git a/services/api/test/fixtures/users.yml b/services/api/test/fixtures/users.yml index c04aa47d2f..3daaaa8fa0 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: @@ -25,10 +29,12 @@ admin: identity_url: https://admin.openid.local is_active: true is_admin: true + username: admin prefs: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z miniadmin: owner_uuid: zzzzz-tpzed-000000000000000 @@ -39,10 +45,12 @@ miniadmin: identity_url: https://miniadmin.openid.local is_active: true is_admin: false + username: miniadmin prefs: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z rominiadmin: owner_uuid: zzzzz-tpzed-000000000000000 @@ -53,10 +61,12 @@ rominiadmin: identity_url: https://rominiadmin.openid.local is_active: true is_admin: false + username: rominiadmin prefs: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z active: owner_uuid: zzzzz-tpzed-000000000000000 @@ -67,10 +77,12 @@ active: identity_url: https://active-user.openid.local is_active: true is_admin: false + username: active 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 @@ -81,10 +93,12 @@ project_viewer: identity_url: https://project-viewer.openid.local is_active: true is_admin: false + username: projectviewer prefs: 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. @@ -96,10 +110,12 @@ future_project_user: identity_url: https://future-project-user.openid.local is_active: true is_admin: false + username: futureprojectviewer prefs: 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 @@ -110,10 +126,12 @@ subproject_admin: identity_url: https://subproject-admin.openid.local is_active: true is_admin: false + username: subprojectadmin prefs: profile: organization: example.com role: Computational biologist + getting_started_shown: 2015-03-26 12:34:56.789000000 Z spectator: owner_uuid: zzzzz-tpzed-000000000000000 @@ -124,10 +142,12 @@ spectator: identity_url: https://spectator.openid.local is_active: true is_admin: false + username: spectator 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 @@ -149,6 +169,7 @@ inactive: identity_url: https://inactive-user.openid.local is_active: false is_admin: false + username: inactiveuser prefs: {} inactive_but_signed_user_agreement: @@ -164,6 +185,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 @@ -184,10 +206,28 @@ job_reader: identity_url: https://spectator.openid.local is_active: true is_admin: false + username: jobber prefs: 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 @@ -200,7 +240,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 @@ -212,6 +252,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: @@ -223,6 +289,7 @@ user_foo_in_sharing_group: identity_url: https://user_foo_in_sharing_group.openid.local is_active: true is_admin: false + username: fooinsharing user_bar_in_sharing_group: owner_uuid: zzzzz-tpzed-000000000000000 @@ -233,6 +300,7 @@ user_bar_in_sharing_group: identity_url: https://user_bar_in_sharing_group.openid.local is_active: true is_admin: false + username: barinsharing user1_with_load: owner_uuid: zzzzz-tpzed-000000000000000 @@ -243,10 +311,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 @@ -257,7 +327,9 @@ fuse: identity_url: https://fuse.openid.local is_active: true is_admin: false + username: FUSE prefs: profile: organization: example.com role: IT + getting_started_shown: 2015-03-26 12:34:56.789000000 Z