Issue
According to the Roles matrix SpaceDevelopers, Supporters, and Auditors should be able to view UsageEvents.
The v3/app_usage_events endpoint is also accessible to all users, but only returns events if the user has global permissions:
|
app_usage_events = AppUsageEvent.where(guid: []) |
|
|
|
app_usage_events = AppUsageEventListFetcher.fetch_all(message, AppUsageEvent.dataset) if permission_queryer.can_read_globally? |
|
|
It's unclear to me if this is a mistake in documentation or an incomplete implementation. Anyone know the history here?
Issue
According to the Roles matrix SpaceDevelopers, Supporters, and Auditors should be able to view UsageEvents.
The v3/app_usage_events endpoint is also accessible to all users, but only returns events if the user has global permissions:
cloud_controller_ng/app/controllers/v3/app_usage_events_controller.rb
Lines 10 to 13 in 01782fb
It's unclear to me if this is a mistake in documentation or an incomplete implementation. Anyone know the history here?