X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/68bdf4cbb1d2c22d689b1d74a1c2a77415921b4d..13116cc7dc549e93b0757f1948c2ac18b760c681:/services/api/test/fixtures/groups.yml diff --git a/services/api/test/fixtures/groups.yml b/services/api/test/fixtures/groups.yml index 2411831520..9a2dc169b6 100644 --- a/services/api/test/fixtures/groups.yml +++ b/services/api/test/fixtures/groups.yml @@ -6,19 +6,33 @@ public: uuid: zzzzz-j7d0g-it30l961gq3t0oi owner_uuid: zzzzz-tpzed-d9tiejq69daie8f name: Public - description: Public Group + description: Public Project + group_class: project + +public_role: + uuid: zzzzz-j7d0g-jt30l961gq3t0oi + owner_uuid: zzzzz-tpzed-d9tiejq69daie8f + name: Public Role + description: Public Role group_class: role private: uuid: zzzzz-j7d0g-rew6elm53kancon owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz name: Private - description: Private Group + description: Private Project + group_class: project + +private_role: + uuid: zzzzz-j7d0g-pew6elm53kancon + owner_uuid: zzzzz-tpzed-000000000000000 + name: Private Role + description: Private Role group_class: role private_and_can_read_foofile: uuid: zzzzz-j7d0g-22xp1wpjul508rk - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 name: Private and Can Read Foofile description: Another Private Group group_class: role @@ -42,6 +56,13 @@ system_group: description: System-owned Group group_class: role +public_favorites_project: + uuid: zzzzz-j7d0g-publicfavorites + owner_uuid: zzzzz-tpzed-000000000000000 + name: Public favorites + description: Public favorites + group_class: project + empty_lonely_group: uuid: zzzzz-j7d0g-jtp06ulmvsezgyu owner_uuid: zzzzz-tpzed-000000000000000 @@ -60,6 +81,7 @@ testusergroup_admins: uuid: zzzzz-j7d0g-48foin4vonvc2at owner_uuid: zzzzz-tpzed-000000000000000 name: Administrators of a subset of users + group_class: role aproject: uuid: zzzzz-j7d0g-v955i6s2oi1cbso @@ -85,9 +107,74 @@ asubproject: description: "Test project belonging to active user's first test project" group_class: project +afiltergroup: + uuid: zzzzz-j7d0g-thisfiltergroup + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: This filter group + group_class: filter + properties: + filters: [[ "collections.name", "like", "baz%" ], [ "groups.name", "=", "A Subproject" ]] + +afiltergroup2: + uuid: zzzzz-j7d0g-afiltergrouptwo + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: A filter group without filters + group_class: filter + properties: + filters: [] + +afiltergroup3: + uuid: zzzzz-j7d0g-filtergroupthre + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: A filter group with an is_a collection filter + group_class: filter + properties: + filters: [["uuid", "is_a", "arvados#collection"]] + +afiltergroup4: + uuid: zzzzz-j7d0g-filtergroupfour + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: A filter group with an exists collections filter + group_class: filter + properties: + filters: [["collections.properties.listprop","exists",true],["uuid", "is_a", "arvados#collection"]] + +afiltergroup5: + uuid: zzzzz-j7d0g-filtergroupfive + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: A filter group with a contains collections filter + group_class: filter + properties: + filters: [["collections.properties.listprop","contains","elem1"],["uuid", "is_a", "arvados#collection"]] + future_project_viewing_group: uuid: zzzzz-j7d0g-futrprojviewgrp - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-tpzed-000000000000000 created_at: 2014-04-21 15:37:48 -0400 modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz @@ -106,6 +193,7 @@ bad_group_has_ownership_cycle_a: modified_at: 2014-05-03 18:50:08 -0400 updated_at: 2014-05-03 18:50:08 -0400 name: Owned by bad group b + group_class: project bad_group_has_ownership_cycle_b: uuid: zzzzz-j7d0g-0077nzts8c178lw @@ -116,6 +204,7 @@ bad_group_has_ownership_cycle_b: modified_at: 2014-05-03 18:50:08 -0400 updated_at: 2014-05-03 18:50:08 -0400 name: Owned by bad group a + group_class: project anonymous_group: uuid: zzzzz-j7d0g-anonymouspublic @@ -143,6 +232,7 @@ active_user_has_can_manage: uuid: zzzzz-j7d0g-ptt1ou6a9lxrv07 owner_uuid: zzzzz-tpzed-d9tiejq69daie8f name: Active user has can_manage + group_class: project # Group for testing granting permission between users who share a group. group_for_sharing_tests: @@ -152,6 +242,14 @@ group_for_sharing_tests: description: Users who can share objects with each other group_class: role +project_owned_by_foo: + uuid: zzzzz-j7d0g-lsjm0ibr0ydwpzx + owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c + created_at: 2014-02-03T17:22:54Z + modified_at: 2014-02-03T17:22:54Z + name: project_owned_by_foo + group_class: project + empty_project: uuid: zzzzz-j7d0g-9otoxmrksam74q6 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz @@ -236,17 +334,6 @@ fuse_owned_project: description: Test project belonging to FUSE test user group_class: project -group_with_no_class: - uuid: zzzzz-j7d0g-groupwithnoclas - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz - created_at: 2014-04-21 15:37:48 -0400 - modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr - modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz - modified_at: 2014-04-21 15:37:48 -0400 - updated_at: 2014-04-21 15:37:48 -0400 - name: group_with_no_class - description: This group has no class at all. So rude! - # This wouldn't pass model validation, but it enables a workbench # infinite-loop test. See #4389 project_owns_itself: @@ -305,8 +392,9 @@ trashed_project: name: trashed project group_class: project trash_at: 2001-01-01T00:00:00Z - delete_at: 2038-03-01T00:00:00Z + delete_at: 2008-03-01T00:00:00Z is_trashed: true + modified_at: 2001-01-01T00:00:00Z trashed_subproject: uuid: zzzzz-j7d0g-trashedproject2 @@ -314,6 +402,7 @@ trashed_subproject: name: trashed subproject group_class: project is_trashed: false + modified_at: 2001-01-01T00:00:00Z trashed_subproject3: uuid: zzzzz-j7d0g-trashedproject3 @@ -323,3 +412,14 @@ trashed_subproject3: trash_at: 2001-01-01T00:00:00Z delete_at: 2038-03-01T00:00:00Z is_trashed: true + modified_at: 2001-01-01T00:00:00Z + +trashed_on_next_sweep: + uuid: zzzzz-j7d0g-soontobetrashed + owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz + name: soon to be trashed project + group_class: project + trash_at: 2001-01-01T00:00:00Z + delete_at: 2038-03-01T00:00:00Z + is_trashed: false + modified_at: 2001-01-01T00:00:00Z