gitlab-org--gitlab-foss/lib/declarative_policy
Sean McGivern e9476eb97a Speed up cached_pass? for composite rules
Both `Or` and `And` would evaluate whether each rule passed, then calculate a
value based on the results of all of those. We can actually return early in many
cases, without running the rule at all.
2017-10-05 10:12:58 +01:00
..
base.rb Merge branch 'rs-more-public-send-whitelists' into 'master' 2017-08-16 11:25:26 +00:00
cache.rb avoid #respond_to? in Cache.id_for 2017-07-17 14:38:48 -07:00
condition.rb cache the cache key... 2017-07-17 14:38:48 -07:00
dsl.rb Whitelist or fix additional Gitlab/PublicSend cop violations 2017-08-14 12:14:11 -04:00
preferred_scope.rb
rule.rb Speed up cached_pass? for composite rules 2017-10-05 10:12:58 +01:00
runner.rb Speed up DeclarativePolicy::Runner#steps_by_score 2017-10-04 13:50:05 +01:00
step.rb add a new DeclarativePolicy framework 2017-06-27 12:41:54 -07:00