creating issue though API doesn't create labels if user is not a member of project
Summary
when a user creates a issue through the API to a project the ticket will be created but not not the labels.
Steps to reproduce
do a simple API request to create a new issue as a user that has access to a repo's issue tracker but is not a developer.
``http://gitlab.test.com/api/v3/projects/28/issues?private_token=*-&sudo=```
the list of tags is a comma separated list but it can also be a single tag.
Expected behavior
the issue with all the tags.
Actual behavior
the issue without the tags.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
Results of GitLab application Check
all checks pass
Results of GitLab environment info
GitLab information Version: 8.12.1 Revision: ca3c6a46