This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
f6399f1dfe
gitlab-org--gitlab-foss
/
app
/
policies
/
nil_policy.rb
6 lines
95 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable frozen string in presenters and policies Enable frozen string in: * app/presenters * app/policies Partially addresses #47424.
2018-07-24 06:00:56 -04:00
# frozen_string_literal: true
convert all the policies to DeclarativePolicy
2017-04-06 17:06:42 -04:00
class
NilPolicy
<
BasePolicy
rule
{
default
}
.
prevent_all
end
Copy permalink