Page MenuHomeDevCentral

Simplify datacubes permissions
ClosedPublic

Authored by dereckson on Sep 29 2024, 12:39.
Tags
None
Referenced Files
F7484411: D3470.id.diff
Sun, Apr 27, 12:51
Unknown Object (File)
Thu, Apr 24, 17:15
Unknown Object (File)
Wed, Apr 23, 20:06
Unknown Object (File)
Tue, Apr 22, 21:29
Unknown Object (File)
Mon, Apr 21, 21:36
Unknown Object (File)
Mon, Apr 21, 17:17
Unknown Object (File)
Mon, Apr 21, 05:53
Unknown Object (File)
Sun, Apr 20, 21:20
Subscribers
None

Details

Summary

Move YAML anchors defining permissions to their own block.

x- or x_ can be used for values declared only to be used as YAML aliases.

Test Plan

Load pillar file with yaml.safe_load() to check it's no-op.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
ascii-sandbox
Build Status
Buildable 5521
Build 5802: arc lint + arc unit

Event Timeline

dereckson created this revision.

So the idea for permissions:

  • only one permissions block -> use it without alias directly in datacubes
  • same permissions block used at least twice -> to define in x_datacube_permissions
This revision is now accepted and ready to land.Sep 29 2024, 12:40
This revision was automatically updated to reflect the committed changes.