Commit Graph

10 Commits

Author SHA1 Message Date
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
gfyoung d5bf57a6af Enable frozen string in presenters and policies
Enable frozen string in:

* app/presenters
* app/policies

Partially addresses #47424.
2018-07-24 13:18:25 -07:00
Dylan Griffith 1cfa5ed070 Refactor out duplication in runner_policy.rb 2018-05-16 11:42:09 +02:00
Dylan Griffith 8583e4a147 Change policy list_runner_jobs -> read_runner 2018-05-16 10:52:28 +02:00
Dylan Griffith c3f9d80a6e Rename User#ci_authorized_runners -> ci_owned_runners 2018-05-16 10:52:28 +02:00
Dylan Griffith 18821b157d Improve efficiency of authorized_runner policy query 2018-05-16 10:52:28 +02:00
Dylan Griffith 7320684c00 Use can? policies for lib/api/runners.rb 2018-05-16 10:52:28 +02:00
http://jneen.net/ 37c401433b convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
blackst0ne 11aff97d88 Remove the User#is_admin? method 2017-04-09 13:20:57 +11:00
http://jneen.net/ 5019185edd port runners, namespaces, group/project_members 2016-08-30 11:39:22 -07:00