Page MenuHomeDevCentral

Simplify datacubes permissions
ClosedPublic

Authored by dereckson on Sun, Sep 29, 12:39.
Tags
None
Referenced Files
F3632347: D3470.id.diff
Sun, Oct 6, 21:49
F3632001: D3470.id8945.diff
Sun, Oct 6, 18:26
F3631438: D3470.id8944.diff
Sun, Oct 6, 15:53
Unknown Object (File)
Fri, Oct 4, 03:19
Unknown Object (File)
Thu, Oct 3, 05:36
Unknown Object (File)
Mon, Sep 30, 22:58
Unknown Object (File)
Mon, Sep 30, 21:02
Unknown Object (File)
Mon, Sep 30, 14:23
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.Sun, Sep 29, 12:40
This revision was automatically updated to reflect the committed changes.