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

[Web] Handle case where creator is inaccessible #2817

Merged
merged 3 commits into from
Mar 19, 2019
Merged

Conversation

jamesdphillips
Copy link
Contributor

@jamesdphillips jamesdphillips commented Mar 19, 2019

What is this change?

Handle case where the creator of a silence is inaccessible.

Why is this change necessary?

Creator can be inaccessible if the current user does not have read access for users or if the creator's user no longer exists.

Does your change need a Changelog entry?

Yup!

Do you need clarification on anything?

No.

Were there any complications while making this change?

No.

Have you reviewed and updated the documentation for this change? Is new documentation required?

Yes, and no additional documentation is required.

How did you verify this change?

Manually created a user with limited permissions and attempted to view silences.

Signed-off-by: James Phillips <jamesdphillips@gmail.com>
Signed-off-by: James Phillips <jamesdphillips@gmail.com>
@jamesdphillips jamesdphillips requested a review from dabria March 19, 2019 18:46
@jamesdphillips jamesdphillips marked this pull request as ready for review March 19, 2019 18:46
Signed-off-by: James Phillips <jamesdphillips@gmail.com>
Copy link
Member

@dabria dabria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component:web-ui Sensu dashboard improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants