Skip to content

Correct manner to override controller? #13

@lcpriest

Description

@lcpriest

I want to scope the hooks to user accounts, so I believe I need to override the controller in order to do set the owner_class_name and owner_id based on the authentication headers that Zapier sends.
(These can be used to find an account in my system)

Is there a recommended way to set an owner_class_name and owner_id on the ZapierRestHooks::Hook or should I just override the controller?

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