Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.
This repository was archived by the owner on May 29, 2025. It is now read-only.

Fix authorization mess #11

@zanedb

Description

@zanedb

(using the AttendeesController as an example here)
I need to authorize with the Event model (set_event) because the Attendee model hasn't been created for the index and otherwise it's terrible. But Pundit doesn't seem to allow me to authorize w/ a different model than that one of the controller?? wtf

so i have a shitty half assed fix to it that needs work and will haunt me down the road. yay!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions