Commit graph

6 commits

Author SHA1 Message Date
Adam Niedzielski
e2c603696a Pass user instance to Labels::FindOrCreateService or skip_authorization: true
Do not pass project.owner because it may return a group and Labels::FindOrCreateService
throws an error in this case.
Fixes #23694.
2016-10-28 11:31:45 +02:00
Douglas Barbosa Alexandre
1d8b74fee3 Avoid touch label links that does not belongs to project when moving it 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre
4f6d1c1d70 Rename Labels::CreateService to Labels::FindOrCreateService 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre
6c189dcc8e Add service to create project labels 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
49ec98d1b2 Recreates the label priorities when moving project to another group 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
8522ef44bf Recreates missing group labels when moving project to another group 2016-10-19 14:58:24 -02:00