cloudfoundry / cloudfoundry/cloud_controller_ng
Usage Events are not viewable by SpaceDevelopers, etc
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 207
- Forks
- 373
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 56
Description
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:
It's unclear to me if this is a mistake in documentation or an incomplete implementation. Anyone know the history here?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with app/controllers/v3/app_usage_events_controller.rb around lines 10-13 and compare its permission behavior with the linked Cloud Foundry roles matrix. Investigate whether the discrepancy is documented behavior or an implementation defect; done means the endpoint behavior and roles documentation agree, with the relevant project coverage updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api, authorization, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100