gitea/models
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232)
* Add endpoint

* Add swagger response + generate swagger

* Stop execution if user / org is not found

* Add tests


Co-authored-by: 6543 <6543@obermui.de>
2021-10-12 12:47:19 +02:00
..
avatars
db Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
fixtures Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
issues
login
migrations
access_test.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
access.go
action_list.go
action_test.go
action.go
admin_test.go
admin.go
attachment_test.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
attachment.go
branches_test.go
branches.go Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
commit_status_test.go
commit_status.go
commit.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
consistency_test.go
consistency.go
engine_test.go
error_oauth2.go
error.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
external_login_user.go
fixture_generation.go
fixture_test.go
gpg_key_add.go
gpg_key_commit_verification.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
gpg_key_common.go
gpg_key_import.go
gpg_key_test.go
gpg_key_verify.go
gpg_key.go
helper_directory.go
helper_environment.go
helper.go
issue_assignees_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_assignees.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
issue_comment_list.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
issue_comment_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_comment.go Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
issue_dependency_test.go
issue_dependency.go
issue_label_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
issue_label.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_milestone_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
issue_milestone.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
issue_reaction_test.go
issue_reaction.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
issue_stopwatch_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_stopwatch.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
issue_test.go
issue_tracked_time_test.go
issue_tracked_time.go
issue_user_test.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
issue_user.go
issue_watch_test.go
issue_watch.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
issue_xref_test.go
issue_xref.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
issue.go
lfs_lock.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
lfs.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
main_test.go
migrate.go
notification_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
notification.go
org_team_test.go
org_team.go
org_test.go
org.go [API] Add endpount to get user org permissions (#17232) 2021-10-12 12:47:19 +02:00
project_board.go
project_issue.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
project_test.go
project.go
protected_tag_test.go
protected_tag.go
pull_list.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
pull_sign.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
pull_test.go Fix stange behavior of DownloadPullDiffOrPatch in incorect index (#17223) 2021-10-05 16:41:48 +02:00
pull.go
release.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
repo_activity.go
repo_archiver.go
repo_avatar.go
repo_branch.go
repo_collaboration_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
repo_collaboration.go Nicely handle missing user in collaborations (#17049) 2021-09-27 19:07:19 +01:00
repo_generate_test.go
repo_generate.go
repo_indexer.go
repo_issue.go
repo_language_stats.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
repo_list_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
repo_list.go
repo_mirror.go
repo_permission_test.go
repo_permission.go
repo_pushmirror_test.go
repo_pushmirror.go
repo_redirect_test.go
repo_redirect.go
repo_sign.go
repo_test.go
repo_transfer_test.go
repo_transfer.go Nicely handle missing user in collaborations (#17049) 2021-09-27 19:07:19 +01:00
repo_unit.go
repo_watch_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
repo_watch.go
repo.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
review_test.go
review.go
session.go
ssh_key_authorized_keys.go
ssh_key_authorized_principals.go
ssh_key_deploy.go
ssh_key_fingerprint.go
ssh_key_parse.go
ssh_key_principals.go
ssh_key_test.go
ssh_key.go
star_test.go
star.go
statistic.go
task.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
token_test.go
token.go
topic_test.go
topic.go
unit.go
update.go
upload.go
user_avatar.go
user_follow_test.go
user_follow.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
user_heatmap_test.go
user_heatmap.go
user_mail_test.go
user_mail.go
user_openid_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_openid.go
user_redirect_test.go
user_redirect.go
user_test.go
user.go Fix broken Activities link in team dashboard (#17255) 2021-10-07 20:27:38 +02:00
userlist_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
userlist.go
webhook_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
webhook.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
wiki_test.go
wiki.go