Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event/Audit Log permissions do not factor in unscoped alternatives #4447

Closed
NickJosevski opened this issue Apr 4, 2018 · 2 comments
Closed
Assignees
Milestone

Comments

@NickJosevski
Copy link

NickJosevski commented Apr 4, 2018

Summary

EventView permissions have been flawed for a while.

They have been improved by #4307 but they still do not return the correct type of results for a user with sufficient permission, it will only filter based on their exact scoping.

Details

Permissions changed for EventView to ensure customers could restrict it adequately, these restrictions currently do not co-operate well across different event types. Example: environment scoping of EventView will cause ONLY Environment entries to be returned, the user does not have a restriction on Project related events, but they are filtered out.

Workarounds before a patch is released

  1. Do not scope your EventView permission (if you can)
  2. or Further scope it to all applicable projects, project groups and tenants and events

Confirmed as longer running issue

Existed in 4.1.10 which was a few weeks before the changes made by #4307

image

@NickJosevski NickJosevski self-assigned this Apr 4, 2018
@octoreleasebot octoreleasebot added this to the 2018.3.10 milestone Apr 5, 2018
@octoreleasebot
Copy link

octoreleasebot commented Apr 5, 2018

Release Note: Fix for events/audit not being returned when user had scoped permissions applied

@lock
Copy link

lock bot commented Nov 23, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants