summaryrefslogtreecommitdiffstats
path: root/integrations/org_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that restricted users can access repos for which they are members ↵zeripath2021-10-281-0/+63
| | | | | | | | | | | | | | | | | (#17460) There is a small bug in the way that repo access is checked in repoAssignment: Accessibility is checked by checking if the user has a marked access to the repository instead of checking if the user has any team granted access. This PR changes this permissions check to use HasAccess() which does the correct test. There is also a fix in the release api ListReleases where it should return draft releases if the user is a member of a team with write access to the releases. The PR also adds a testcase. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fixed assert statements. (#16089)KN4CK3R2021-06-071-1/+1
|
* Fix "data race" in testlogger (#9159)zeripath2019-11-261-3/+3
| | | | | | * Fix data race in testlogger * Update git_helper_for_declarative_test.go
* Allow collaborators to view repo owned private org (#6965)mrsdizzie2019-05-161-0/+9
| | | | | | | Handle case where an orginization is private but a user who is not a member of the orgninization has been added as a collaborator of a repo within that org Fixes #6962
* Fix org visibility bug when git cloning (#6743)Lunny Xiao2019-04-251-0/+60
| | | | | | | | | | | | | | * fix org visibility bug * fix permission check * add integration tests * fix tests * change test user name for easier maintainance and fix test * fix test git repo name
* Fix: Sort repos on org home page with non-admin login (#6741)Lunny Xiao2019-04-241-0/+43