docbrown/app/policies
Joshua Wehner 5dee4a11c1
Allow trusted user to access response templates (#17978)
* Allow trusted user to access response templates

* Add request specs for trusted user templates

* WIP: was just investigating...

* Move permission check to authorizer

* Revert "WIP: was just investigating..."

This reverts commit c38c60f7ab19ce43c174729c2542a9041e9322e2.

* Improved accessibility

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2022-07-12 11:37:59 +02:00
..
admin_policy.rb Renaming policy methods for consistency (#16523) 2022-02-11 09:10:54 -05:00
api_secret_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
application_policy.rb Scheduling articles (#17939) 2022-07-07 17:32:49 +03:00
article_policy.rb Scheduling articles (#17939) 2022-07-07 17:32:49 +03:00
authorizer.rb Allow trusted user to access response templates (#17978) 2022-07-12 11:37:59 +02:00
comment_policy.rb Adjusting suspended user authorizations (#16634) 2022-02-21 10:08:24 -05:00
consumer_app_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
discussion_lock_policy.rb Renaming policy methods for consistency (#16523) 2022-02-11 09:10:54 -05:00
follow_policy.rb Adjusting suspended user authorizations (#16634) 2022-02-21 10:08:24 -05:00
github_repo_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
html_variant_policy.rb Renaming policy methods for consistency (#16523) 2022-02-11 09:10:54 -05:00
image_upload_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
internal_policy.rb Refactoring questions asked of user (#15762) 2021-12-21 12:45:12 -05:00
liquid_tag_policy.rb small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
listing_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
message_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
organization_policy.rb Ensuring the same policies for analytics (#16997) 2022-03-25 14:57:01 -04:00
pinned_article_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
rating_vote_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
reaction_policy.rb Ensuring only privileged users may give certain reactions (#17632) 2022-05-10 16:13:23 -04:00
registration_policy.rb Refactor RegistrationsController (#13903) 2021-06-08 17:03:41 -04:00
response_template_policy.rb Allow trusted user to access response templates (#17978) 2022-07-12 11:37:59 +02:00
space_policy.rb Penciling in a Default Spaces section (#16897) 2022-03-21 09:56:12 -04:00
stripe_active_card_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
stripe_subscription_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
tag_policy.rb Renaming policy methods for consistency (#16523) 2022-02-11 09:10:54 -05:00
user_block_policy.rb Favoring method aliasing over explicit delegation (#16526) 2022-02-10 11:09:17 -05:00
user_policy.rb mod panel update unpublish all posts action 17709 (#17923) 2022-06-27 16:50:31 -04:00
video_policy.rb Ensuring the VideoPolicy adhears to article creation (#16762) 2022-03-07 15:27:18 -05:00