Skip to content

Remove access.ssdl when REP has converted to Standard Results #31

@tnatt

Description

@tnatt

With the introduction of Standard Results the information in access.ssdl will no longer be needed. This information has mainly been used by REP to detect data that should be displayed in their frontend.

When REP has fully converted to Standard Results we should replace the SsdlAccess with Access below:

access: SsdlAccess
"""The ``access`` block contains information related to access control for
this data object. See :class:`SsdlAccess`."""

And remove the SsdlAccess and the Ssdl models

class SsdlAccess(Access):
"""
The ``access`` block contains information related to access control for
this data object, with legacy SSDL settings.
"""
ssdl: Ssdl
"""A block containing information related to SSDL. See :class:`Ssdl`."""

class Ssdl(BaseModel):
"""
The ``access.ssdl`` block contains information related to SSDL.
Note that this is kept due to legacy.
"""
access_level: enums.Classification
"""The SSDL access level. See :class:`enums.Classification`."""
rep_include: bool
"""Flag if this data is to be shown in REP or not."""

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