AsPrebuildsOrchestrator returns a context with an actor that has permissions to read orchestrator workspace prebuilds.
(ctx context.Context)
| 823 | // AsPrebuildsOrchestrator returns a context with an actor that has permissions |
| 824 | // to read orchestrator workspace prebuilds. |
| 825 | func AsPrebuildsOrchestrator(ctx context.Context) context.Context { |
| 826 | return As(ctx, subjectPrebuildsOrchestrator) |
| 827 | } |
| 828 | |
| 829 | // AsFileReader returns a context with an actor that has permissions required |
| 830 | // for reading all files. |