Least Privilege for a Background Job
A component can receive the operations and data it needs for a defined task, keeping unrelated capabilities outside its normal role.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a report generator
A tool making a report may need read access to one collection and a destination for generated reports. It need not change source records. Read-only input handles show an analogous interface separation.
Verify its intended path
A test configuration should let the tool read and publish as expected while disallowing irrelevant updates. Component integration tests check that its narrower role still meets the feature's needs.[1]