Files
gitlabhq/app/controllers/projects
Douwe MaanandRémy Coutable ae1e3fb81a Merge branch 'fix/link-group-permissions' into 'master'
Check permissions when sharing project with group

## Summary

Unprivileged user was able to share project with group he didn't have access to, and therefore gain partial access to that group, which opened possibilities for further actions like listing private projects in that group.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/15330

## Fix

This change introduces additional check for group read access.

## Further work

We can think about preventing such problems in the future (this is quite common problem) by moving permissions checks to another layer of abstraction (TBD).

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15330

See merge request !1949

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-19 16:09:48 +02:00
..
2016-03-07 14:27:53 +01:00
2015-12-18 14:19:48 -06:00