Open
Description
When resource based Access Request is created:
2025-05-23T11:47:18.751+01:00 ERRO [AUTH:ACCE] Failed to handle access request event. error:[
ERROR REPORT:
Original Error: trace.aggregate cannot automatically review access requests for resources other than 'roles'
Stack Trace:
/Users/kopiczko/src/gh/gravitational/teleport.kopiczko.request_prompt_v2/lib/accessmonitoring/monitor.go:243 github.com/gravitational/teleport/lib/accessmonitoring.handleEvent
/Users/kopiczko/src/gh/gravitational/teleport.kopiczko.request_prompt_v2/lib/accessmonitoring/monitor.go:210 github.com/gravitational/teleport/lib/accessmonitoring.(*AccessMonitor).Run.func2
/opt/local/lib/go/src/runtime/asm_arm64.s:1223 runtime.goexit
User Message: cannot automatically review access requests for resources other than 'roles'] event:Put(AccessRequest(user=myrequester,roles=[access])) accessmonitoring/monitor.go:211
This probably can be simply replaced with return nil
: