Page MenuHomeDevCentral

Simplify datacubes permissions
ClosedPublic

Authored by dereckson on Sep 29 2024, 12:39.
Tags
None
Referenced Files
F9622344: D3470.id8945.diff
Tue, Jun 10, 09:43
F9622222: D3470.id8944.diff
Tue, Jun 10, 09:35
F9602216: D3470.diff
Mon, Jun 9, 18:44
F9601429: D3470.id8944.diff
Mon, Jun 9, 18:07
F9600643: D3470.id8945.diff
Mon, Jun 9, 17:26
Unknown Object (File)
Sun, Jun 8, 12:58
Unknown Object (File)
Fri, Jun 6, 09:23
Unknown Object (File)
Thu, Jun 5, 16:11
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 Not Applicable
Unit
Tests Not Applicable

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.