mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-21 05:42:28 +03:00
193e04c43b
Backport #26664 by @CaiCandong
> ### Description
> If a new branch is pushed, and the repository has a rule that would
require signed commits for the new branch, the commit is rejected with a
500 error regardless of whether it's signed.
>
> When pushing a new branch, the "old" commit is the empty ID
(0000000000000000000000000000000000000000). verifyCommits has no
provision for this and passes an invalid commit range to git rev-list.
Prior to 1.19 this wasn't an issue because only pre-existing individual
branches could be protected.
>
> I was able to reproduce with
[try.gitea.io/CraigTest/test](https://try.gitea.io/CraigTest/test),
which is set up with a blanket rule to require commits on all branches.
Fix #25565
Very thanks to @Craig-Holmquist-NTI for reporting the bug and suggesting
an valid solution!
Co-authored-by: CaiCandong <50507092+CaiCandong@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 93c36f395c
)
1334 lines
28 KiB
YAML
1334 lines
28 KiB
YAML
# NOTE: all users should have a password of "password"
|
|
|
|
- # NOTE: this user (id=1) is the admin
|
|
id: 1
|
|
lower_name: user1
|
|
name: user1
|
|
full_name: User One
|
|
email: user1@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user1
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: true
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar1
|
|
avatar_email: user1@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 2
|
|
lower_name: user2
|
|
name: user2
|
|
full_name: ' < U<se>r Tw<o > >< '
|
|
email: user2@example.com
|
|
keep_email_private: true
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user2
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar2
|
|
avatar_email: user2@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 2
|
|
num_following: 1
|
|
num_stars: 2
|
|
num_repos: 13
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 3
|
|
lower_name: user3
|
|
name: user3
|
|
full_name: ' <<<< >> >> > >> > >>> >> '
|
|
email: user3@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: user3
|
|
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: avatar3
|
|
avatar_email: user3@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 3
|
|
num_teams: 5
|
|
num_members: 3
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 4
|
|
lower_name: user4
|
|
name: user4
|
|
full_name: ' '
|
|
email: user4@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: user4
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar4
|
|
avatar_email: user4@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 1
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 5
|
|
lower_name: user5
|
|
name: user5
|
|
full_name: User Five
|
|
email: user5@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user5
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: false
|
|
prohibit_login: false
|
|
avatar: avatar5
|
|
avatar_email: user5@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 1
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 6
|
|
lower_name: user6
|
|
name: user6
|
|
full_name: User Six
|
|
email: user6@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user6
|
|
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: avatar6
|
|
avatar_email: user6@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 2
|
|
num_members: 2
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 7
|
|
lower_name: user7
|
|
name: user7
|
|
full_name: User Seven
|
|
email: user7@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: disabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user7
|
|
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: avatar7
|
|
avatar_email: user7@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 1
|
|
num_members: 1
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 8
|
|
lower_name: user8
|
|
name: user8
|
|
full_name: User Eight
|
|
email: user8@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user8
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar8
|
|
avatar_email: user8@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 1
|
|
num_following: 1
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 9
|
|
lower_name: user9
|
|
name: user9
|
|
full_name: User Nine
|
|
email: user9@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: user9
|
|
type: 0
|
|
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: avatar9
|
|
avatar_email: user9@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 10
|
|
lower_name: user10
|
|
name: user10
|
|
full_name: User Ten
|
|
email: user10@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user10
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar10
|
|
avatar_email: user10@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 3
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 11
|
|
lower_name: user11
|
|
name: user11
|
|
full_name: User Eleven
|
|
email: user11@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user11
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar11
|
|
avatar_email: user11@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 1
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 12
|
|
lower_name: user12
|
|
name: user12
|
|
full_name: User 12
|
|
email: user12@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user12
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar12
|
|
avatar_email: user12@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 1
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 13
|
|
lower_name: user13
|
|
name: user13
|
|
full_name: User 13
|
|
email: user13@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user13
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar13
|
|
avatar_email: user13@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 1
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 14
|
|
lower_name: user14
|
|
name: user14
|
|
full_name: User 14
|
|
email: user14@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user14
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar14
|
|
avatar_email: user13@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 3
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 15
|
|
lower_name: user15
|
|
name: user15
|
|
full_name: User 15
|
|
email: user15@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user15
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar15
|
|
avatar_email: user15@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 4
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 16
|
|
lower_name: user16
|
|
name: user16
|
|
full_name: User 16
|
|
email: user16@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user16
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar16
|
|
avatar_email: user16@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 2
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 17
|
|
lower_name: user17
|
|
name: user17
|
|
full_name: User 17
|
|
email: user17@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user17
|
|
type: 1
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar17
|
|
avatar_email: user17@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 2
|
|
num_teams: 3
|
|
num_members: 4
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 18
|
|
lower_name: user18
|
|
name: user18
|
|
full_name: User 18
|
|
email: user18@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user18
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar18
|
|
avatar_email: user18@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 19
|
|
lower_name: user19
|
|
name: user19
|
|
full_name: User 19
|
|
email: user19@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user19
|
|
type: 1
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar19
|
|
avatar_email: user19@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 2
|
|
num_teams: 1
|
|
num_members: 2
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 20
|
|
lower_name: user20
|
|
name: user20
|
|
full_name: User 20
|
|
email: user20@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user20
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar20
|
|
avatar_email: user20@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 4
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 21
|
|
lower_name: user21
|
|
name: user21
|
|
full_name: User 21
|
|
email: user21@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user21
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar21
|
|
avatar_email: user21@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 2
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 22
|
|
lower_name: limited_org
|
|
name: limited_org
|
|
full_name: Limited Org
|
|
email: limited_org@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: limited_org
|
|
type: 1
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar22
|
|
avatar_email: limited_org@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 2
|
|
num_teams: 1
|
|
num_members: 0
|
|
visibility: 1
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 23
|
|
lower_name: privated_org
|
|
name: privated_org
|
|
full_name: Privated Org
|
|
email: privated_org@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: privated_org
|
|
type: 1
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar23
|
|
avatar_email: privated_org@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 2
|
|
num_teams: 2
|
|
num_members: 1
|
|
visibility: 2
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 24
|
|
lower_name: user24
|
|
name: user24
|
|
full_name: user24
|
|
email: user24@example.com
|
|
keep_email_private: true
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user24
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar24
|
|
avatar_email: user24@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 25
|
|
lower_name: org25
|
|
name: org25
|
|
full_name: org25
|
|
email: org25@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: org25
|
|
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: avatar25
|
|
avatar_email: org25@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 1
|
|
num_members: 1
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 26
|
|
lower_name: org26
|
|
name: org26
|
|
full_name: Org26
|
|
email: org26@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: org26
|
|
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: avatar26
|
|
avatar_email: org26@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 4
|
|
num_teams: 1
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: true
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 27
|
|
lower_name: user27
|
|
name: user27
|
|
full_name: User Twenty-Seven
|
|
email: user27@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user27
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar27
|
|
avatar_email: user27@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 3
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 28
|
|
lower_name: user28
|
|
name: user28
|
|
full_name: user27
|
|
email: user28@example.com
|
|
keep_email_private: true
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user28
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar28
|
|
avatar_email: user28@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 29
|
|
lower_name: user29
|
|
name: user29
|
|
full_name: User 29
|
|
email: user29@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user29
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: true
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar29
|
|
avatar_email: user29@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 30
|
|
lower_name: user30
|
|
name: user30
|
|
full_name: User Thirty
|
|
email: user30@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user30
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: true
|
|
avatar: avatar29
|
|
avatar_email: user30@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 4
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 31
|
|
lower_name: user31
|
|
name: user31
|
|
full_name: user31
|
|
email: user31@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user31
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar31
|
|
avatar_email: user31@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 1
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 2
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 32
|
|
lower_name: user32
|
|
name: user32
|
|
full_name: User 32 (U2F test)
|
|
email: user32@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:notpassword
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user32
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar32
|
|
avatar_email: user30@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 33
|
|
lower_name: user33
|
|
name: user33
|
|
full_name: User 33 (Limited Visibility)
|
|
email: user33@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: user33
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar33
|
|
avatar_email: user33@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 1
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 1
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 34
|
|
lower_name: the_34-user.with.all.allowedchars
|
|
name: the_34-user.with.all.allowedChars
|
|
full_name: the_1-user.with.all.allowedChars
|
|
description: 'some [commonmark](https://commonmark.org/)!'
|
|
email: user34@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: the_34-user.with.all.allowedchars
|
|
type: 0
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: false
|
|
prohibit_login: false
|
|
avatar: avatar34
|
|
avatar_email: user34@example.com
|
|
use_custom_avatar: true
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 0
|
|
num_members: 0
|
|
visibility: 0
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 35
|
|
lower_name: private_org35
|
|
name: private_org35
|
|
full_name: Private Org 35
|
|
email: private_org35@example.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: private_org35
|
|
type: 1
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar35
|
|
avatar_email: private_org35@example.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 1
|
|
num_members: 1
|
|
visibility: 2
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|
|
|
|
-
|
|
id: 36
|
|
lower_name: limited_org36
|
|
name: limited_org36
|
|
full_name: Limited Org 36
|
|
email: abcde@gitea.com
|
|
keep_email_private: false
|
|
email_notifications_preference: enabled
|
|
passwd: ZogKvWdyEx:password
|
|
passwd_hash_algo: dummy
|
|
must_change_password: false
|
|
login_source: 0
|
|
login_name: limited_org36
|
|
type: 1
|
|
salt: ZogKvWdyEx
|
|
max_repo_creation: -1
|
|
is_active: true
|
|
is_admin: false
|
|
is_restricted: false
|
|
allow_git_hook: false
|
|
allow_import_local: false
|
|
allow_create_organization: true
|
|
prohibit_login: false
|
|
avatar: avatar22
|
|
avatar_email: abcde@gitea.com
|
|
use_custom_avatar: false
|
|
num_followers: 0
|
|
num_following: 0
|
|
num_stars: 0
|
|
num_repos: 0
|
|
num_teams: 2
|
|
num_members: 2
|
|
visibility: 1
|
|
repo_admin_change_team_access: false
|
|
theme: ""
|
|
keep_activity_private: false
|