diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-07-27 12:52:35 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-07-27 12:52:35 +0300 |
commit | f4804d5bb4b37f4de80e4a2e248f0958c615b618 (patch) | |
tree | 61781b99921860cce7a1069fca8e1e3bc295f660 /lib | |
parent | 260102b288bffa9048c3fccfc49cc1c44dfc1095 (diff) | |
parent | 277e9e4ee84d6b72152ce55854b579c992f9db9c (diff) |
Merge branch 'memoize-note-editable' into 'master'
Optimize maximum user access level lookup in loading of notes
See merge request !5412
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/access.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/access.rb b/lib/gitlab/access.rb index de41ea415a6..a533bac2692 100644 --- a/lib/gitlab/access.rb +++ b/lib/gitlab/access.rb @@ -7,6 +7,7 @@ module Gitlab module Access class AccessDeniedError < StandardError; end + NO_ACCESS = 0 GUEST = 10 REPORTER = 20 DEVELOPER = 30 |