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.""" |
With the introduction of
Standard Resultsthe information inaccess.ssdlwill no longer be needed. This information has mainly been used byREPto detect data that should be displayed in their frontend.When
REPhas fully converted toStandard Resultswe should replace theSsdlAccesswithAccessbelow:fmu-datamodels/src/fmu/datamodels/fmu_results/fmu_results.py
Lines 334 to 336 in a9a49e3
And remove the
SsdlAccessand theSsdlmodelsfmu-datamodels/src/fmu/datamodels/fmu_results/fields.py
Lines 68 to 75 in a9a49e3
fmu-datamodels/src/fmu/datamodels/fmu_results/fields.py
Lines 41 to 51 in a9a49e3