Skip to content

prevent data upload for archived devices #857

@scheidtdav

Description

@scheidtdav

Description

Archived devices, as the name implies, should remain unchanged from the point of when they were archived.
Hence, uploading data to the device, just like changing any characteristics of them, should be prevented.
They are read-only.

Use case

Users who would like to take a device offline but find relevance in the historical data might want to archive devices.

Eventually devices will stop sending data, in which case we also auto-archive them (see #782).

Implementation ideas (optional)

The api and the ui routes need respect this change. Should go into the shared code for that reason.
Changing meta data of the device should also be prevented.

Additional information (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📝 Ready / Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions