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

Added RBAC to App Launcher #1046

Merged
merged 2 commits into from
Oct 2, 2017
Merged

Added RBAC to App Launcher #1046

merged 2 commits into from
Oct 2, 2017

Conversation

chalettu
Copy link
Contributor

@chalettu chalettu commented Oct 2, 2017

@miq-bot add_label enhancement
@miq-bot add_label fine/no

@@ -64,6 +64,7 @@ export function NavigationController (Text, Navigation, Session, API_BASE, Shopp
about: RBAC.has('about'),
documentation: RBAC.has('documentation')
},
appLauncher: RBAC.has('sui_app_launcher'),
Copy link
Member

@AllenBW AllenBW Oct 2, 2017

Choose a reason for hiding this comment

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

:ducks: don't hate me, any way we can change vm.permissions.appLauncher to vm.permissions.suiAppLauncher or vm.permissions.sui_app_launcher

I have this feelin' down in my 🍖 that one day we'll thank ourselves for being redic explicit... as in... there won't be any way that conditional rendering can be confused with anything other than rbac.

ALSO looks to be that all the rback we'll be using going forward will lead off with sui so thinking carrying that onwards will also help future us...

@miq-bot
Copy link
Member

miq-bot commented Oct 2, 2017

Checked commits https://github.com/chalettu/manageiq-ui-service/compare/03e0fa8b19a3c2742ceb4281c3f5c9999b049521~...eafa9ee509fc4c73ab912efdbfa785828e3859b9 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 👍

Copy link
Member

@AllenBW AllenBW left a comment

Choose a reason for hiding this comment

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

<3 🙇

@AllenBW AllenBW added this to the Sprint 70 Ending Oct 2, 2017 milestone Oct 2, 2017
@chriskacerguis
Copy link
Contributor

@chriskacerguis chriskacerguis self-assigned this Oct 2, 2017
@chriskacerguis
Copy link
Contributor

No UX changes here; just adding RBAC.

@chriskacerguis chriskacerguis merged commit d5d401e into ManageIQ:master Oct 2, 2017
@chalettu chalettu deleted the app-launcher-visibility branch November 21, 2017 19:28
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