gitea/models/fixtures
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314)
* fix units permission problems

* fix some bugs and merge LoadUnits to repoAssignment

* refactor permission struct and add some copyright heads

* remove unused codes

* fix routes units check

* improve permission check

* add unit tests for permission

* fix typo

* fix tests

* fix some routes

* fix api permission check

* improve permission check

* fix some permission check

* fix tests

* fix tests

* improve some permission check

* fix some permission check

* refactor AccessLevel

* fix bug

* fix tests

* fix tests

* fix tests

* fix AccessLevel

* rename CanAccess

* fix tests

* fix comment

* fix bug

* add missing unit for test repos

* fix bug

* rename some functions

* fix routes check
2018-11-28 19:26:14 +08:00
..
access_token.yml
access.yml
action.yml
attachment.yml
collaboration.yml
comment.yml
commit_status.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
follow.yml
gpg_key.yml
hook_task.yml
issue_assignees.yml
issue_label.yml
issue_user.yml
issue_watch.yml
issue.yml
label.yml
login_source.yml
milestone.yml
notice.yml
notification.yml
org_user.yml
protected_branch.yml
public_key.yml
pull_request.yml
reaction.yml
release.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_unit.yml
repository.yml
review.yml
star.yml
stopwatch.yml
team_repo.yml
team_unit.yml
team_user.yml
team.yml
topic.yml
tracked_time.yml
u2f_registration.yml
user_open_id.yml
user.yml
watch.yml
webhook.yml