docbrown/app/errors
Alex 347a4bbc75
[deploy] Add contexts and permissions to liquid tags (#8917)
* Make liquid tags adhere to context and permission

* Undo updates to all liquid tags and update error

* ACTUALLY update errors this time

* Typo

* Refactor error handling and add support for Comment

* Fix specs

* Code cleanup

* Prettify error message

* Add comment clarifying error

* parsed --> parse

* Use a policy for validating roles

* Fix pretty error message

* Return early if valid source

* Get rid of duplicate current_user

* Add comment to Pundit.authorize

* LiquidTagPolicy specs

* Update liquid tag docs

* Update docs

* Use parse_context argument for clarity

* Remove duplicate guard clause for VALID_ROLES

* Update docs
2020-06-30 14:53:18 -04:00
..
fastly_config.rb [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
liquid_tags.rb [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
payments.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
search.rb Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
subclass_responsibility.rb [deploy] Authentication refactoring - step 1 (#7259) 2020-04-15 12:13:10 -04:00
unauthorized_error.rb Add API Analytics Endpoints (#2293) 2019-04-04 10:52:45 -04:00
uninferrable_decorator_error.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00