scinote-web/test/fixtures/user_organizations.yml

98 lines
1.2 KiB
YAML

one:
user: steve
organization: biosistemika
role: 1
assigned_by: steve
two:
user: steve
organization: nib
role: 1
assigned_by: steve
seven:
user: steve
organization: phylos
role: 1
assigned_by: steve
three:
user: mark
organization: biosistemika
role: 1
assigned_by: mark
four:
user: mark
organization: nib
role: 2
assigned_by: mark
five:
user: jlaw
organization: biosistemika
role: 0
assigned_by: steve
six:
user: nora
organization: nib
role: 1
assigned_by: nora
eight:
user: nora
organization: phylos
role: 2
assigned_by: nora
nine:
user: default
organization: biosistemika
role: 2
assigned_by: default
ten:
user: default
organization: nib
role: 2
assigned_by: default
without_role:
user: nora
organization: nib
role: -1
assigned_by: steve
without_user:
user: 0
organization: nib
role: 1
assigned_by: steve
without_organization:
user: nora
organization: 0
role: 1
assigned_by: steve
with_invalid_user:
user_id: <%= Constants::INFINITY %>
organization: nib
role: 1
assigned_by: steve
with_invalid_organization:
user: nora
organization_id: <%= Constants::INFINITY %>
role: 1
assigned_by: steve