Skip to content

Usage Events are not viewable by SpaceDevelopers, etc #4864

Description

@sethboyles

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions