AsNotifier returns a context with an actor that has permissions required for creating/reading/updating/deleting notifications.
(ctx context.Context)
| 784 | // AsNotifier returns a context with an actor that has permissions required for |
| 785 | // creating/reading/updating/deleting notifications. |
| 786 | func AsNotifier(ctx context.Context) context.Context { |
| 787 | return As(ctx, subjectNotifier) |
| 788 | } |
| 789 | |
| 790 | // AsResourceMonitor returns a context with an actor that has permissions required for |
| 791 | // updating resource monitors. |