diff options
author | Rémy Coutable <remy@gitlab.com> | 2016-10-11 13:20:35 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-10-11 15:00:08 +0300 |
commit | 3418eb31dceeb604b94969f596491dbb1e663e8b (patch) | |
tree | 6757dc5e58541d0cd557a2f3e8784ab79c9c3cc1 /CHANGELOG | |
parent | eebf51eeec1170b0f30df6b46bfc265988aeec39 (diff) |
Merge branch 'api-fix-project-group-sharing' into 'security'
API: Share projects only with groups current_user can access
Aims to address the issues here: https://gitlab.com/gitlab-org/gitlab-ce/issues/23004
* Projects can be shared with non-existent groups
* Projects can be shared with groups that the current user does not have access to read
Concerns:
The new implementation of the API endpoint allows projects to be shared with a larger range of groups than can be done via the web UI.
The form for sharing a project with a group uses the following API endpoint to index the available groups: https://gitlab.com/gitlab-org/gitlab-ce/blob/494269fc92f61098ee6bd635a0426129ce2c5456/lib/api/groups.rb#L17. The groups indexed in the web form will only be those groups that the user is currently a member of.
The new implementation allows projects to be shared with any group that the authenticated user has access to view. This widens the range of groups to those that are public and internal.
See merge request !2005
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index c9434902a83..73959f62d1a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date. v 8.11.9 - Don't send Private-Token (API authentication) headers to Sentry + - Share projects via the API only with groups the authenticated user can access v 8.11.8 - Respect the fork_project permission when forking projects |