diff options
author | Rémy Coutable <remy@gitlab.com> | 2016-10-11 10:20:35 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-10-11 14:06:01 +0200 |
commit | b637c447b5c3f65a957b115be0d022686a10a65e (patch) | |
tree | 3b414cd6bd692e7a0e0945fb1093330a69efef4e /CHANGELOG | |
parent | 6e1c1d953f3745f6f2c9261e12b5cd46efe69c66 (diff) | |
download | gitlab-ce-b637c447b5c3f65a957b115be0d022686a10a65e.tar.gz |
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG index 7b157d61411..34d1481d28b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,7 @@ Please view this file on the master branch, on stable branches it's out of date. v 8.10.12 - - 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.10.11 - Respect the fork_project permission when forking projects |