(ctx context.Context, actor *accesscontrol.Actor)
| 32 | } |
| 33 | |
| 34 | func SetActor(ctx context.Context, actor *accesscontrol.Actor) context.Context { |
| 35 | return Set(ctx, actorKey, actor) |
| 36 | } |
| 37 | |
| 38 | // GetActor returns the actor from the context. It usually represents the user who is interacting with the system. |
| 39 | func GetActor(ctx context.Context) (*accesscontrol.Actor, error) { |
no test coverage detected