RBAC for event summary with helper function

I will fix this in the next PR.