Commit Graph

6 Commits

Author SHA1 Message Date
GitLab Bot 6c9db7d110 Add latest changes from gitlab-org/gitlab@master 2022-09-01 06:11:45 +00:00
GitLab Bot 9b762f50fe Add latest changes from gitlab-org/gitlab@master 2022-04-14 15:08:59 +00:00
GitLab Bot fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
GitLab Bot c3ad57034c Add latest changes from gitlab-org/gitlab@master 2020-01-13 09:08:03 +00:00
Oswaldo Ferreira 44e1915d4f Persist tmp snippet uploads
It persist temporary personal snippets under
user/:id namespaces temporarily while creating
a upload record to track it. If an user gets removed
while it's still a tmp upload, it also gets removed.
If the tmp upload is sent, the upload gets moved to
personal_snippets/:id as before. The upload record
also gets updated to the new model type as well.
2019-06-17 11:25:40 -03:00
Sean McGivern c1892f6c90 Remove the `comment_personal_snippet` permission
This is now entirely handled by `create_note`:

1. Project snippets prevent `create_note`.
2. Uploads already only support routing for personal snippets.

This simplifies some policies and access checks, too!
2019-05-02 11:13:42 +01:00