Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • P Policy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • 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
  • Policy
  • Issues
  • #34

New policies that use OPA requests and caching

Provide new policies that use OPA request and caching for entitlements groups and legal tags. Initial contribution is done here: https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/tree/add-dynamic-policy-examples/policy-examples/load%20data%20dynamically%20POC

The scope is to create a data authz policy that supports all the data operations

-Create -Update -Delete -Retrieve

  • This needs to be integrated with Storage
  • The interface of the contract should be validated by SDMS (doesnt need to be integrated)
  • This should replicate the existing system behavior of entitlements and legal enforcement. Refer to the POC policies for reference in the link above
  • As the system functional behavior doesnt change all integration tests should pass except where caching is applied and so causes a delay in updates to ACLs by 10 seconds. This is the only acceptable change in behavior
  • We should validate performance has not dropped form before

Also

  • We should think about how the implementation can be extended in the future when we have custom policies. A custom policy is one provided by a client of the system after osdu is deployed. This will create a distinction between system policies which is what we are defining here and what clients override them with. This may mean a modular approach to creating policies so clients creating their own policies could re-use them. This will likely change as this feature becomes concrete but we should consider the problem in the design of the policies.
Edited Feb 11, 2022 by ashley kelham
Assignee
Assign to
Time tracking