Discourse Meta
Best way to enforce permissions--controller or constraint?
Development
fzngagan
(Faizaan Gagan)
January 16, 2021, 1:10pm
2
Can’t you pass a method to
before_action
to check your condition?
show post in topic
Related topics
Topic
Replies
Views
Activity
Proper place to propose a permissions predicate?
Development
1
137
February 21, 2025
Guardian before and after checks api
Development
4
344
July 29, 2024
More detailed response for API /post_actions failures
Development
4
1215
April 25, 2017
How to add route to root path
Development
3
540
April 8, 2021
Allow specifiy user different from guardian.user in chat services such as Chat::CreateMessage
Feature
chat
3
693
December 4, 2023