mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-07 23:24:03 +02:00
refactor: update fixture items
- add new org which owns all testing repo groups - create new repositories, teams and team units in this org
This commit is contained in:
parent
802ca748c8
commit
fc1bd08b01
File diff suppressed because it is too large
Load Diff
@ -1,150 +1,30 @@
|
||||
- id: 1
|
||||
org_id: 25
|
||||
team_id: 10
|
||||
group_id: 12
|
||||
access_mode: 1
|
||||
- access_mode: 3
|
||||
can_create_in: false
|
||||
group_id: 19
|
||||
id: 1
|
||||
org_id: 43
|
||||
team_id: 25
|
||||
- access_mode: 1
|
||||
can_create_in: false
|
||||
group_id: 19
|
||||
id: 2
|
||||
org_id: 43
|
||||
team_id: 26
|
||||
- access_mode: 0
|
||||
can_create_in: true
|
||||
- id: 2
|
||||
org_id: 25
|
||||
team_id: 23
|
||||
group_id: 12
|
||||
access_mode: 4
|
||||
group_id: 19
|
||||
id: 3
|
||||
org_id: 43
|
||||
team_id: 27
|
||||
- access_mode: 0
|
||||
can_create_in: true
|
||||
- id: 3
|
||||
org_id: 26
|
||||
team_id: 11
|
||||
group_id: 41
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 4
|
||||
org_id: 41
|
||||
team_id: 21
|
||||
group_id: 88
|
||||
access_mode: 3
|
||||
can_create_in: true
|
||||
- id: 5
|
||||
org_id: 41
|
||||
team_id: 22
|
||||
group_id: 88
|
||||
access_mode: 1
|
||||
can_create_in: true
|
||||
- id: 6
|
||||
org_id: 3
|
||||
team_id: 1
|
||||
group_id: 148
|
||||
access_mode: 4
|
||||
can_create_in: true
|
||||
- id: 7
|
||||
org_id: 3
|
||||
team_id: 2
|
||||
group_id: 148
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 8
|
||||
org_id: 3
|
||||
team_id: 7
|
||||
group_id: 148
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 9
|
||||
org_id: 3
|
||||
team_id: 12
|
||||
group_id: 148
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 10
|
||||
org_id: 3
|
||||
team_id: 14
|
||||
group_id: 148
|
||||
access_mode: 1
|
||||
can_create_in: true
|
||||
- id: 11
|
||||
org_id: 6
|
||||
team_id: 3
|
||||
group_id: 179
|
||||
access_mode: 4
|
||||
can_create_in: true
|
||||
- id: 12
|
||||
org_id: 6
|
||||
team_id: 13
|
||||
group_id: 179
|
||||
access_mode: 3
|
||||
can_create_in: false
|
||||
- id: 13
|
||||
org_id: 19
|
||||
team_id: 6
|
||||
group_id: 203
|
||||
access_mode: 3
|
||||
can_create_in: false
|
||||
- id: 14
|
||||
org_id: 22
|
||||
team_id: 15
|
||||
group_id: 239
|
||||
access_mode: 2
|
||||
can_create_in: false
|
||||
- id: 15
|
||||
org_id: 36
|
||||
team_id: 19
|
||||
group_id: 241
|
||||
access_mode: 4
|
||||
can_create_in: false
|
||||
- id: 16
|
||||
org_id: 36
|
||||
team_id: 20
|
||||
group_id: 241
|
||||
access_mode: 1
|
||||
can_create_in: true
|
||||
- id: 17
|
||||
org_id: 7
|
||||
team_id: 4
|
||||
group_id: 280
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 18
|
||||
org_id: 17
|
||||
team_id: 5
|
||||
group_id: 312
|
||||
access_mode: 3
|
||||
can_create_in: true
|
||||
- id: 19
|
||||
org_id: 17
|
||||
team_id: 8
|
||||
group_id: 312
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 20
|
||||
org_id: 17
|
||||
team_id: 9
|
||||
group_id: 312
|
||||
access_mode: 1
|
||||
can_create_in: true
|
||||
- id: 21
|
||||
org_id: 23
|
||||
team_id: 16
|
||||
group_id: 360
|
||||
access_mode: 3
|
||||
can_create_in: false
|
||||
- id: 22
|
||||
org_id: 23
|
||||
team_id: 17
|
||||
group_id: 360
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 23
|
||||
org_id: 35
|
||||
team_id: 18
|
||||
group_id: 376
|
||||
access_mode: 2
|
||||
can_create_in: false
|
||||
- id: 24
|
||||
org_id: 35
|
||||
team_id: 24
|
||||
group_id: 376
|
||||
access_mode: 1
|
||||
can_create_in: false
|
||||
- id: 25
|
||||
org_id: 3
|
||||
team_id: 12
|
||||
group_id: 123
|
||||
access_mode: 4
|
||||
group_id: 19
|
||||
id: 4
|
||||
org_id: 43
|
||||
team_id: 28
|
||||
- access_mode: 2
|
||||
can_create_in: true
|
||||
group_id: 19
|
||||
id: 5
|
||||
org_id: 43
|
||||
team_id: 29
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -261,3 +261,45 @@
|
||||
num_members: 1
|
||||
includes_all_repositories: true
|
||||
can_create_org_repo: false
|
||||
|
||||
|
||||
- can_create_org_repo: true
|
||||
id: 25
|
||||
includes_all_repositories: true
|
||||
lower_name: admins
|
||||
name: Admins
|
||||
num_members: 0
|
||||
num_repos: 0
|
||||
org_id: 43
|
||||
- can_create_org_repo: true
|
||||
id: 26
|
||||
includes_all_repositories: true
|
||||
lower_name: writers
|
||||
name: Writers
|
||||
num_members: 0
|
||||
num_repos: 0
|
||||
org_id: 43
|
||||
- can_create_org_repo: false
|
||||
id: 27
|
||||
includes_all_repositories: true
|
||||
lower_name: readers
|
||||
name: Readers
|
||||
num_members: 0
|
||||
num_repos: 0
|
||||
org_id: 43
|
||||
- can_create_org_repo: false
|
||||
id: 28
|
||||
includes_all_repositories: true
|
||||
lower_name: limited
|
||||
name: Limited
|
||||
num_members: 0
|
||||
num_repos: 0
|
||||
org_id: 43
|
||||
- can_create_org_repo: true
|
||||
id: 29
|
||||
includes_all_repositories: true
|
||||
lower_name: owners
|
||||
name: Owners
|
||||
num_members: 0
|
||||
num_repos: 0
|
||||
org_id: 43
|
||||
|
||||
@ -340,3 +340,205 @@
|
||||
team_id: 24
|
||||
type: 1 # code
|
||||
access_mode: 2
|
||||
|
||||
|
||||
- access_mode: 3
|
||||
id: 58
|
||||
team_id: 25
|
||||
type: 1
|
||||
- access_mode: 3
|
||||
id: 59
|
||||
team_id: 25
|
||||
type: 2
|
||||
- access_mode: 3
|
||||
id: 60
|
||||
team_id: 25
|
||||
type: 3
|
||||
- access_mode: 3
|
||||
id: 61
|
||||
team_id: 25
|
||||
type: 4
|
||||
- access_mode: 3
|
||||
id: 62
|
||||
team_id: 25
|
||||
type: 5
|
||||
- access_mode: 3
|
||||
id: 63
|
||||
team_id: 25
|
||||
type: 6
|
||||
- access_mode: 3
|
||||
id: 64
|
||||
team_id: 25
|
||||
type: 7
|
||||
- access_mode: 3
|
||||
id: 65
|
||||
team_id: 25
|
||||
type: 8
|
||||
- access_mode: 3
|
||||
id: 66
|
||||
team_id: 25
|
||||
type: 9
|
||||
- access_mode: 3
|
||||
id: 67
|
||||
team_id: 25
|
||||
type: 10
|
||||
- access_mode: 2
|
||||
id: 68
|
||||
team_id: 26
|
||||
type: 1
|
||||
- access_mode: 2
|
||||
id: 69
|
||||
team_id: 26
|
||||
type: 2
|
||||
- access_mode: 2
|
||||
id: 70
|
||||
team_id: 26
|
||||
type: 3
|
||||
- access_mode: 2
|
||||
id: 71
|
||||
team_id: 26
|
||||
type: 4
|
||||
- access_mode: 2
|
||||
id: 72
|
||||
team_id: 26
|
||||
type: 5
|
||||
- access_mode: 2
|
||||
id: 73
|
||||
team_id: 26
|
||||
type: 6
|
||||
- access_mode: 2
|
||||
id: 74
|
||||
team_id: 26
|
||||
type: 7
|
||||
- access_mode: 2
|
||||
id: 75
|
||||
team_id: 26
|
||||
type: 8
|
||||
- access_mode: 2
|
||||
id: 76
|
||||
team_id: 26
|
||||
type: 9
|
||||
- access_mode: 2
|
||||
id: 77
|
||||
team_id: 26
|
||||
type: 10
|
||||
- access_mode: 1
|
||||
id: 78
|
||||
team_id: 27
|
||||
type: 1
|
||||
- access_mode: 1
|
||||
id: 79
|
||||
team_id: 27
|
||||
type: 2
|
||||
- access_mode: 1
|
||||
id: 80
|
||||
team_id: 27
|
||||
type: 3
|
||||
- access_mode: 1
|
||||
id: 81
|
||||
team_id: 27
|
||||
type: 4
|
||||
- access_mode: 1
|
||||
id: 82
|
||||
team_id: 27
|
||||
type: 5
|
||||
- access_mode: 1
|
||||
id: 83
|
||||
team_id: 27
|
||||
type: 6
|
||||
- access_mode: 1
|
||||
id: 84
|
||||
team_id: 27
|
||||
type: 7
|
||||
- access_mode: 1
|
||||
id: 85
|
||||
team_id: 27
|
||||
type: 8
|
||||
- access_mode: 1
|
||||
id: 86
|
||||
team_id: 27
|
||||
type: 9
|
||||
- access_mode: 1
|
||||
id: 87
|
||||
team_id: 27
|
||||
type: 10
|
||||
- access_mode: 0
|
||||
id: 88
|
||||
team_id: 28
|
||||
type: 1
|
||||
- access_mode: 0
|
||||
id: 89
|
||||
team_id: 28
|
||||
type: 2
|
||||
- access_mode: 0
|
||||
id: 90
|
||||
team_id: 28
|
||||
type: 3
|
||||
- access_mode: 0
|
||||
id: 91
|
||||
team_id: 28
|
||||
type: 4
|
||||
- access_mode: 0
|
||||
id: 92
|
||||
team_id: 28
|
||||
type: 5
|
||||
- access_mode: 0
|
||||
id: 93
|
||||
team_id: 28
|
||||
type: 6
|
||||
- access_mode: 0
|
||||
id: 94
|
||||
team_id: 28
|
||||
type: 7
|
||||
- access_mode: 0
|
||||
id: 95
|
||||
team_id: 28
|
||||
type: 8
|
||||
- access_mode: 0
|
||||
id: 96
|
||||
team_id: 28
|
||||
type: 9
|
||||
- access_mode: 0
|
||||
id: 97
|
||||
team_id: 28
|
||||
type: 10
|
||||
- access_mode: 4
|
||||
id: 98
|
||||
team_id: 29
|
||||
type: 1
|
||||
- access_mode: 4
|
||||
id: 99
|
||||
team_id: 29
|
||||
type: 2
|
||||
- access_mode: 4
|
||||
id: 100
|
||||
team_id: 29
|
||||
type: 3
|
||||
- access_mode: 4
|
||||
id: 101
|
||||
team_id: 29
|
||||
type: 4
|
||||
- access_mode: 4
|
||||
id: 102
|
||||
team_id: 29
|
||||
type: 5
|
||||
- access_mode: 4
|
||||
id: 103
|
||||
team_id: 29
|
||||
type: 6
|
||||
- access_mode: 4
|
||||
id: 104
|
||||
team_id: 29
|
||||
type: 7
|
||||
- access_mode: 4
|
||||
id: 105
|
||||
team_id: 29
|
||||
type: 8
|
||||
- access_mode: 4
|
||||
id: 106
|
||||
team_id: 29
|
||||
type: 9
|
||||
- access_mode: 4
|
||||
id: 107
|
||||
team_id: 29
|
||||
type: 10
|
||||
|
||||
@ -1556,3 +1556,40 @@
|
||||
repo_admin_change_team_access: false
|
||||
theme: ""
|
||||
keep_activity_private: false
|
||||
|
||||
-
|
||||
id: 43
|
||||
lower_name: org-with-groups
|
||||
name: org-with-groups
|
||||
full_name: Org With Groups
|
||||
email: org.with.groups@example.com
|
||||
keep_email_private: false
|
||||
email_notifications_preference: onmention
|
||||
passwd: ZogKvWdyEx:password
|
||||
passwd_hash_algo: dummy
|
||||
must_change_password: false
|
||||
login_source: 0
|
||||
login_name: org-with-groups
|
||||
type: 1
|
||||
salt: ZogKvWdyEx
|
||||
max_repo_creation: -1
|
||||
is_active: false
|
||||
is_admin: false
|
||||
is_restricted: false
|
||||
allow_git_hook: false
|
||||
allow_import_local: false
|
||||
allow_create_organization: true
|
||||
prohibit_login: false
|
||||
avatar: ""
|
||||
avatar_email: org.with.groups@example.com
|
||||
use_custom_avatar: true
|
||||
num_followers: 0
|
||||
num_following: 0
|
||||
num_stars: 0
|
||||
num_repos: 15
|
||||
num_teams: 0
|
||||
num_members: 0
|
||||
visibility: 0
|
||||
repo_admin_change_team_access: false
|
||||
theme: ""
|
||||
keep_activity_private: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user