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

RBAC - use sui_dashboard_show instead of the sui_dashboard folder for VIEW dashboard permission #1611

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Dec 18, 2019

Depends on ManageIQ/manageiq#19657

This way, when the new "View Dashboard" feature is not set, there will be no Dashboard

https://bugzilla.redhat.com/show_bug.cgi?id=1783356


both "view dashboard" and "monthly charge view" on:

sui_both

only "view dashboard":

sui_show

no "view dashboard" (regardless of "monthly charge view")

sui_noshow

@himdel himdel added the bug label Dec 18, 2019
@himdel himdel changed the title SUI - use sui_dashboard_show instead of the sui_dashboard folder for VIEW dashboard permission RBAC - use sui_dashboard_show instead of the sui_dashboard folder for VIEW dashboard permission Dec 18, 2019
…VIEW dashboard permission

this way, when the new "View Dashboard" feature is not set, there will be no Dashboard

https://bugzilla.redhat.com/show_bug.cgi?id=1783356
@miq-bot
Copy link
Member

miq-bot commented Dec 18, 2019

Checked commit https://github.com/himdel/manageiq-ui-service/commit/a2ca46235701af52484f3cde0c4c89ade07873bb with ruby 2.5.5, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 👍

@martinpovolny martinpovolny self-assigned this Jan 23, 2020
@martinpovolny martinpovolny added this to the Sprint 129 Ending Feb 3, 2020 milestone Jan 23, 2020
@martinpovolny martinpovolny merged commit a26bac2 into ManageIQ:master Jan 23, 2020
@himdel himdel deleted the bz1783356 branch January 23, 2020 14:21
@simaishi
Copy link
Contributor

@himdel can this be ivanchuk/yes?

@himdel
Copy link
Contributor Author

himdel commented Feb 21, 2020

Sure, this should only depend on ManageIQ/manageiq#19657, added :)

simaishi pushed a commit that referenced this pull request Feb 21, 2020
RBAC - use sui_dashboard_show instead of the sui_dashboard folder for VIEW dashboard permission

(cherry picked from commit a26bac2)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1805806
@simaishi
Copy link
Contributor

Ivanchuk backport details:

$ git log -1
commit 1ddf42ae1603dce054d1f5ae6e4a7582d9c8ae15
Author: Martin Povolny <[email protected]>
Date:   Thu Jan 23 15:09:56 2020 +0100

    Merge pull request #1611 from himdel/bz1783356

    RBAC - use sui_dashboard_show instead of the sui_dashboard folder for VIEW dashboard permission

    (cherry picked from commit a26bac22d2c773ae7a2b1e686e601ab5bef6db07)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1805806

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

Successfully merging this pull request may close these issues.

4 participants