Fix private repo permission problem #16142

Merged
nils91 merged 7 commits from set-repo-transfer-perm-cp into main 2021-06-14 18:30:35 +00:00
nils91 commented 2021-06-13 14:54:47 +00:00 (Migrated from github.com)

This PR fixes a permission problem which could happen when transferring a private repo. If the recipient did not have at least read access to repo it was not possible to accept the transfer. The fix here sets the read permission if the recipient does not have access.

Closes: https://github.com/go-gitea/gitea/issues/16006

This PR fixes a permission problem which could happen when transferring a private repo. If the recipient did not have at least read access to repo it was not possible to accept the transfer. The fix here sets the read permission if the recipient does not have access. Closes: https://github.com/go-gitea/gitea/issues/16006
lafriks (Migrated from github.com) approved these changes 2021-06-13 16:07:20 +00:00
KN4CK3R (Migrated from github.com) approved these changes 2021-06-14 08:14:12 +00:00
6543 (Migrated from github.com) approved these changes 2021-06-14 17:23:50 +00:00
This repo is archived. You cannot comment on pull requests.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#16142
No description provided.