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

console - fix unable to filter stats based on user roles #2824

Merged
merged 2 commits into from
Nov 15, 2019

Conversation

cmangeat
Copy link
Contributor

@cmangeat cmangeat commented Nov 14, 2019

Filter on role where role and group were ignored, filter on group xor role where group was taken into account

@cmangeat cmangeat changed the title filter on role where role and group were ignored, filter on group xor… [WIP] filter on role where role and group were ignored, filter on group xor… Nov 14, 2019
@cmangeat cmangeat changed the title [WIP] filter on role where role and group were ignored, filter on group xor… filter on role where role and group were ignored, filter on group xor… Nov 14, 2019
@@ -792,8 +794,12 @@ private String convertUTCDateToLocal(String rawDate, GRANULARITY granularity) th
private String getGroup(JSONObject payload) throws JSONException {
if (payload.has("group"))
Copy link
Member

Choose a reason for hiding this comment

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

It seems strange to keep this test IMO

@fvanderbiest fvanderbiest changed the title filter on role where role and group were ignored, filter on group xor… analytics - filter on role where role and group were ignored, filter on group xor… Nov 15, 2019
Copy link
Contributor

@RemiDesgrange RemiDesgrange left a comment

Choose a reason for hiding this comment

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

LGTM

@fvanderbiest fvanderbiest merged commit 9c9464f into master Nov 15, 2019
@fvanderbiest fvanderbiest deleted the analytics_serving_stats_filtering_on_roles branch November 15, 2019 13:19
@fvanderbiest fvanderbiest added this to the 19.12 milestone Nov 19, 2019
@fvanderbiest fvanderbiest changed the title analytics - filter on role where role and group were ignored, filter on group xor… analytics - fix unable to filter stats based on user roles Nov 19, 2019
@fvanderbiest fvanderbiest changed the title analytics - fix unable to filter stats based on user roles console - fix unable to filter stats based on user roles Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants