Skip to content

Mark resource as readonly #343

Open
Open
@lcpriest

Description

@lcpriest

I was scouting around the code base and was unable to find a readonly or immutable class method or include for defining a readonly resource.

Is this something available currently?

If not, I think a simple solution might be to override the save method and raise an ResourceImmutableError. Would appreciate if you can think of any side effects of that off the top of your head.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions