Merge branch 'master' into 3618-column-ordering
[arvados.git] / services / api / test / fixtures / users.yml
index 5ead254f1886fe4c42069fd3f1778676bc05d6a5..ebf455aa5778b49da9f688a3e3b65d85a5751ab6 100644 (file)
@@ -11,7 +11,7 @@ admin:
   is_admin: true
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
       role: IT
 
 miniadmin:
@@ -25,7 +25,7 @@ miniadmin:
   is_admin: false
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
       role: IT
 
 rominiadmin:
@@ -39,7 +39,7 @@ rominiadmin:
   is_admin: false
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
       role: IT
 
 active:
@@ -53,7 +53,7 @@ active:
   is_admin: false
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
       role: Computational biologist
 
 project_viewer:
@@ -67,11 +67,12 @@ project_viewer:
   is_admin: false
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
       role: Computational biologist
 
 future_project_user:
   # Workbench tests give this user permission on aproject.
+  owner_uuid: zzzzz-tpzed-000000000000000
   uuid: zzzzz-tpzed-futureprojview2
   email: future-project-user@arvados.local
   first_name: Future Project
@@ -81,7 +82,21 @@ future_project_user:
   is_admin: false
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
+      role: Computational biologist
+
+subproject_admin:
+  owner_uuid: zzzzz-tpzed-000000000000000
+  uuid: zzzzz-tpzed-subprojectadmin
+  email: subproject-admin@arvados.local
+  first_name: Subproject
+  last_name: Admin
+  identity_url: https://subproject-admin.openid.local
+  is_active: true
+  is_admin: false
+  prefs:
+    profile:
+      organization: example.com
       role: Computational biologist
 
 spectator:
@@ -95,7 +110,7 @@ spectator:
   is_admin: false
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
       role: Computational biologist
 
 inactive_uninvited:
@@ -152,16 +167,78 @@ job_reader:
   is_admin: false
   prefs:
     profile:
-      organization: Curoverse
+      organization: example.com
       role: Computational biologist
 
 active_no_prefs:
   owner_uuid: zzzzz-tpzed-000000000000000
   uuid: zzzzz-tpzed-a46c42d1td4aoj4
-  email: active_no_profile@arvados.local
+  email: active_no_prefs@arvados.local
   first_name: NoPrefs
   last_name: NoProfile
   identity_url: https://active_no_prefs.openid.local
   is_active: true
   is_admin: false
   prefs: {}
+
+active_no_prefs_profile:
+  owner_uuid: zzzzz-tpzed-000000000000000
+  uuid: zzzzz-tpzed-a46c98d1td4aoj4
+  email: active_no_prefs_profile@arvados.local
+  first_name: HasPrefs
+  last_name: NoProfile
+  identity_url: https://active_no_prefs_profile.openid.local
+  is_active: true
+  is_admin: false
+  prefs:
+    test: abc
+
+# Fixtures to test granting and removing permissions.
+
+user_foo_in_sharing_group:
+  owner_uuid: zzzzz-tpzed-000000000000000
+  uuid: zzzzz-tpzed-81hsbo6mk8nl05c
+  email: user_foo_in_sharing_group@arvados.local
+  first_name: Foo
+  last_name: Sharing
+  identity_url: https://user_foo_in_sharing_group.openid.local
+  is_active: true
+  is_admin: false
+
+user_bar_in_sharing_group:
+  owner_uuid: zzzzz-tpzed-000000000000000
+  uuid: zzzzz-tpzed-n3oaj4sm5fcnwib
+  email: user_bar_in_sharing_group@arvados.local
+  first_name: Bar
+  last_name: Sharing
+  identity_url: https://user_bar_in_sharing_group.openid.local
+  is_active: true
+  is_admin: false
+
+user1_with_load:
+  owner_uuid: zzzzz-tpzed-000000000000000
+  uuid: zzzzz-tpzed-user1withloadab
+  email: user1_with_load@arvados.local
+  first_name: user1_with_load
+  last_name: User
+  identity_url: https://user1_with_load.openid.local
+  is_active: true
+  is_admin: false
+  prefs:
+    profile:
+      organization: example.com
+      role: IT
+
+fuse:
+  owner_uuid: zzzzz-tpzed-000000000000000
+  uuid: zzzzz-tpzed-0fusedrivertest
+  email: fuse@arvados.local
+  first_name: FUSE
+  last_name: User
+  identity_url: https://fuse.openid.local
+  is_active: true
+  is_admin: false
+  prefs:
+    profile:
+      organization: example.com
+      role: IT