# RBAC — analytics/tracing feature permissions
#
# Covers: page view tracking endpoint.
# Enable when using rustelo analytics or tracing.

{
  admin    = [{ resource = "endpoint", pattern = "/api/track_page_view*", outcome = "allow", methods = ["POST"], effects = [] }],
  user     = [{ resource = "endpoint", pattern = "/api/track_page_view*", outcome = "allow", methods = ["POST"], effects = [] }],
  guest    = [{ resource = "endpoint", pattern = "/api/track_page_view*", outcome = "allow", methods = ["POST"], effects = [] }],
}
