Skip to content

is_owner condition for custom action #270

Open
@morrisson

Description

@morrisson

If developers want to restrict using action for some resources to those owner, developers want to write is_owner condition for this custom action policy. However, currently it does not work. This is because owner is checked in GET/PUT/POST/DELETE action by adding tenant_id to (pre)fetch some resource, but there is no this kind of logic in ActionResource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions