summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-11-25 10:20:53 +0100
committerRémy Coutable <remy@rymai.me>2016-11-25 10:20:53 +0100
commit525fb86b57c70cf8826054b571afd22623a5c903 (patch)
tree8fcd887c3504ba5caf169f5a489171908c34e0c7 /spec/mailers
parent6e798d2a10733b6f96ee83dd334366f23857cab1 (diff)
downloadgitlab-ce-525fb86b57c70cf8826054b571afd22623a5c903.tar.gz
Add missing trait and remove spec that doesn't make sense in this branch
The `repository_access_level` attribute doesn't exist in the 8-12-stable branch so repository access cannot be restricted using this feature. Fortunately we use `can?(user, :download_code, ref_project)` in lib/banzai/reference_parser/commit_parser.rb and lib/banzai/reference_parser/commit_range_parser.rb and this permission already exists in 8-12-stable (it only depends on the project `visibility_access`). Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/mailers')
0 files changed, 0 insertions, 0 deletions