-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently, all named actions for the entire authorization configuration must be defined in a single actions file - this is not very convenient as, in Phoenix, it means that all actions from all the controllers you want to authorize have to be repeated and enumerated in a single file.
As of now it appears that the only thing this module is used for is distinguishing between singular and plural actions and action grouping.
We would like to do this instead:
- Implement the
singular_actionsandaction_groupingfunctions on a per-controller and per-live-view module basis instead of in the implementation ofPermit.Actions. - What is now implemented by default in
Permit.Phoenix.Actionsshould be moved to default implementations inPermit.Phoenix.ControllerandPermit.Phoenix.LiveView, and just mad eoverridable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels