X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4dbe0b01c464d4f6c29e215afb394fd7e842a1cc..3270fbf5a3cbd121dad7327513d5a5866c3583c4:/services/api/test/fixtures/groups.yml?ds=sidebyside diff --git a/services/api/test/fixtures/groups.yml b/services/api/test/fixtures/groups.yml index a3a6fdc433..c98cdfa170 100644 --- a/services/api/test/fixtures/groups.yml +++ b/services/api/test/fixtures/groups.yml @@ -3,18 +3,21 @@ public: owner_uuid: zzzzz-tpzed-d9tiejq69daie8f name: Public description: Public Group + group_class: role private: uuid: zzzzz-j7d0g-rew6elm53kancon owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz name: Private description: Private Group + group_class: role private_and_can_read_foofile: uuid: zzzzz-j7d0g-22xp1wpjul508rk owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz name: Private and Can Read Foofile description: Another Private Group + group_class: role activeandfriends: uuid: zzzzz-j7d0g-swqu6hmi4pa7bk7 @@ -26,30 +29,28 @@ activeandfriends: name: Active User and friends description: updated_at: 2014-08-22 14:02:18.481166435 Z - group_class: - -system_owned_group: - uuid: zzzzz-j7d0g-8ulrifv67tve5sx - owner_uuid: zzzzz-tpzed-000000000000000 - name: System Private - description: System-owned Group + group_class: role system_group: uuid: zzzzz-j7d0g-000000000000000 owner_uuid: zzzzz-tpzed-000000000000000 name: System Private description: System-owned Group + group_class: role empty_lonely_group: uuid: zzzzz-j7d0g-jtp06ulmvsezgyu owner_uuid: zzzzz-tpzed-000000000000000 name: Empty description: Empty Group + group_class: role all_users: uuid: zzzzz-j7d0g-fffffffffffffff - owner_uuid: zzzzz-tpzed-d9tiejq69daie8f + owner_uuid: zzzzz-tpzed-000000000000000 name: All users + description: All users + group_class: role testusergroup_admins: uuid: zzzzz-j7d0g-48foin4vonvc2at @@ -90,6 +91,7 @@ future_project_viewing_group: updated_at: 2014-04-21 15:37:48 -0400 name: Future Project Viewing Group description: "Group used to test granting Group Project viewing" + group_class: role bad_group_has_ownership_cycle_a: uuid: zzzzz-j7d0g-cx2al9cqkmsf1hs @@ -123,3 +125,102 @@ anonymously_accessible_project: name: Unrestricted public data group_class: project description: An anonymously accessible project + +active_user_has_can_manage: + uuid: zzzzz-j7d0g-ptt1ou6a9lxrv07 + owner_uuid: zzzzz-tpzed-d9tiejq69daie8f + name: Active user has can_manage + +# Group for testing granting permission between users who share a group. +group_for_sharing_tests: + uuid: zzzzz-j7d0g-t4ucgncwteul7zt + owner_uuid: zzzzz-tpzed-000000000000000 + name: Group for sharing tests + description: Users who can share objects with each other + group_class: role + +project_with_10_collections: + uuid: zzzzz-j7d0g-0010collections + owner_uuid: zzzzz-tpzed-user1withloadab + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-user1withloadab + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: project with 10 collections + description: This will result in one page in the display + group_class: project + +project_with_201_collections: + uuid: zzzzz-j7d0g-0201collections + owner_uuid: zzzzz-tpzed-user1withloadab + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-user1withloadab + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: project with 201 collections + description: This will result in two pages in the display + group_class: project + +project_with_10_pipelines: + uuid: zzzzz-j7d0g-000010pipelines + owner_uuid: zzzzz-tpzed-user1withloadab + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-user1withloadab + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: project with 10 pipelines + description: project with 10 pipelines + group_class: project + +project_with_2_pipelines_and_60_jobs: + uuid: zzzzz-j7d0g-nnjobspipelines + owner_uuid: zzzzz-tpzed-user1withloadab + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-user1withloadab + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: project with 2 pipelines and 60 jobs + description: This will result in two pages in the display + group_class: project + +project_with_25_pipelines: + uuid: zzzzz-j7d0g-000025pipelines + owner_uuid: zzzzz-tpzed-user1withloadab + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-user1withloadab + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: project with 25 pipelines + description: project with 25 pipelines + group_class: project + +fuse_owned_project: + uuid: zzzzz-j7d0g-0000ownedbyfuse + owner_uuid: zzzzz-tpzed-0fusedrivertest + created_at: 2014-04-21 15:37:48 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-0fusedrivertest + modified_at: 2014-04-21 15:37:48 -0400 + updated_at: 2014-04-21 15:37:48 -0400 + name: FUSE Test Project + description: Test project belonging to FUSE test user + group_class: project + +# This wouldn't pass model validation, but it enables a workbench +# infinite-loop test. See #4389 +project_owns_itself: + uuid: zzzzz-j7d0g-7rqh7hdshd5yp5t + owner_uuid: zzzzz-j7d0g-7rqh7hdshd5yp5t + created_at: 2014-11-05 22:31:24.258424340 Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: 6pbr1-tpzed-000000000000000 + modified_at: 2014-11-05 22:31:24.258242890 Z + name: zzzzz-j7d0g-7rqh7hdshd5yp5t + description: ~ + updated_at: 2014-11-05 22:31:24.258093171 Z + group_class: project