diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-25 10:20:53 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-25 10:20:53 +0100 |
commit | 525fb86b57c70cf8826054b571afd22623a5c903 (patch) | |
tree | 8fcd887c3504ba5caf169f5a489171908c34e0c7 /spec/mailers | |
parent | 6e798d2a10733b6f96ee83dd334366f23857cab1 (diff) | |
download | gitlab-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