Commit graph

16 commits

Author SHA1 Message Date
Grzegorz Bizon
7fc6b5b6ff Do not inherit build policy in pipeline policy 2017-04-12 12:57:13 +02:00
http://jneen.net/
846e581732 use a magic default :global symbol instead of nil
to make sure we mean the global permissions
2017-03-09 11:49:52 -08:00
Douwe Maan
75f5fa997d Enable Rails/Delegate 2017-02-23 09:32:42 -06:00
Rémy Coutable
061bb6eb6e More improvements to presenters
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-18 16:38:35 +01:00
Rémy Coutable
fd72c0f4c7 Handle presenters in BasePolicy
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-18 16:38:34 +01:00
http://jneen.net/
bc0a513f62 s/NB:/NOTE:/ 2016-08-30 15:55:28 -07:00
http://jneen.net/
482795a908 implement RuleSet#size for tests 2016-08-30 11:42:23 -07:00
http://jneen.net/
57def53c84 factor out a RuleSet so that delegate! retains @cannot 2016-08-30 11:39:22 -07:00
http://jneen.net/
35779223a6 special-case blocked users 2016-08-30 11:39:22 -07:00
http://jneen.net/
5b7edc74b6 use the cached abilities in #delegate! 2016-08-30 11:39:22 -07:00
http://jneen.net/
9a0ea13501 factor in global permissions 2016-08-30 11:39:22 -07:00
http://jneen.net/
3656d3b88a add automatic detection of the policy class 2016-08-30 11:39:22 -07:00
http://jneen.net/
16fe6dc7b1 port CommitStatus/Build 2016-08-30 11:39:22 -07:00
http://jneen.net/
4d904bf352 port issues to Issu{able,e}Policy 2016-08-30 11:39:22 -07:00
http://jneen.net/
1ca9b3354a add support for anonymous abilities 2016-08-30 11:39:22 -07:00
http://jneen.net/
e208765a92 add policies, and factor out ProjectPolicy 2016-08-30 11:35:06 -07:00