Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L Legal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Security and Compliance
  • Legal
  • Issues
  • #30
Closed
Open
Issue created Jun 24, 2022 by Dadong Zhou@dadong.zhouDeveloper4 of 5 checklist items completed4/5 checklist items

ADR: Add new "extensionProperties" property to legalTag properties list

Need a way to allow OSDU clients to attach their E&O attributes to the OSDU data records to utilize the new Policy service to build the dynamic policy rules.

Status

  • Proposed
  • Trialing
  • Under review
  • Approved
  • Retired

Context & Scope

Shell is going to use the Policy service to enforce the E&O rules for all data records. In order to build the required dynamic policy rules, we need to attach our E&O attributes to each data record. One option is to add a new E&O attributes placeholder for all data schemas and pass these attributes into the Policy service for policy rule evaluation. We feel a better option is to reuse the existing LegalTag field in the data schemas. This is a mandatory field and is already passed into the Policy service for policy evaluation. Also this will inherit the nice features from the existing Legal service like the legal tag assignment for derivative records(https://community.opengroup.org/osdu/platform/security-and-compliance/legal/-/blob/master/docs/tutorial/ComplianceService.md).

The current list of legalTag properties is a fixed list. We would like to request to extend this list of legalTag properties so additional properties (ie, E&O attributes) can be added to this list and they can be used to build the dynamic policy rules with the Policy service.

Decision

We propose to add a new "extensionProperties" field which is the object type and is optional field. In this way, the list of legalTag properties is still fixed and each company can add its E&O attributes into the "extensionProperties" object.

Consequences

The list of legalTag properties list will include the new optional object-type field 'extensionProperties'. Users are not expected to make any changes to Storage records, hence there is no impact on Storage, Indexer or Search service.

Edited Dec 30, 2022 by Chad Leong
Assignee
Assign to
Time tracking