Page MenuHomeDevCentral

Simplify datacubes permissions
ClosedPublic

Authored by dereckson on Sep 29 2024, 12:39.
Tags
None
Referenced Files
F57429084: D3470.id8945.diff
Wed, Nov 18, 21:11
F56555996: D3470.diff
Sat, Nov 7, 03:27
F56413473: D3470.id8945.diff
Thu, Nov 5, 23:01
F56406698: D3470.id8944.diff
Thu, Nov 5, 21:22
Unknown Object (File)
Sat, Oct 31, 00:19
Unknown Object (File)
Fri, Oct 30, 18:21
Unknown Object (File)
Wed, Oct 28, 22:54
Unknown Object (File)
Fri, Oct 23, 10:25
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.