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

Policy profile de-explorization #7348

Merged
merged 10 commits into from
Jan 5, 2021

Conversation

h-kataria
Copy link
Contributor

@h-kataria h-kataria commented Sep 28, 2020

RBAC Product feature changes in ManageIQ/manageiq#20820
Data migration ManageIQ/manageiq-schema#541

before
Screenshot from 2020-11-17 12-43-46

Screenshot from 2020-11-17 12-43-58

after
Screenshot from 2020-11-17 12-48-172

Screenshot from 2020-11-17 12-48-33

@skateman ready for review

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

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

I guess it would help you if the form would be in DDF, I will see what I can do 😉

@@ -469,7 +467,7 @@ def center_toolbar_filename_classic
container_build
infra_networking
infra_topology
ems_storage
ems_storagem
Copy link
Member

Choose a reason for hiding this comment

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

?

@@ -222,7 +222,7 @@ def object_storage_menu_section

def control_menu_section
Menu::Section.new(:con, N_("Control"), 'carbon--IbmSecurity', [
Menu::Item.new('miq_policy_set', N_('Policy Profiles'), 'miq_policy_set', {:feature => 'miq_policy_set', :any => true}, '/miq_policy_set/explorer'),
Menu::Item.new('miq_policy_set', N_('Policy Profiles'), 'miq_policy_set', {:feature => 'miq_policy_set/show_list'}, '/miq_policy_set/show_list'),
Copy link
Member

Choose a reason for hiding this comment

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

There's no such feature, you can keep the original one here + the updated link

@h-kataria h-kataria force-pushed the policy_profile_dexplorization branch from 9ac7f25 to 26bee65 Compare December 27, 2020 17:24
h-kataria added a commit to h-kataria/manageiq that referenced this pull request Dec 30, 2020
h-kataria added a commit to h-kataria/manageiq-schema that referenced this pull request Dec 30, 2020
@h-kataria h-kataria force-pushed the policy_profile_dexplorization branch from 40bd977 to 1e55563 Compare December 30, 2020 22:04
%tr{:class => "no-hover"}
-# uncomment following 2 lines when de-explorizing
-#%tr{:title => _("View this %{model} Policy") % {:model => ui_lookup(:model => p.towhat)},
-#:onclick => remote_function(:url => "/miq_policy/show/xx-#{p.mode}_xx-#{p.mode}-#{p.towhat}_p-#{p.id}")}
Copy link
Member

Choose a reason for hiding this comment

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

Umm, aren't you de-explorerizing here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@skateman yes, but Polcy explorer is not de-explorized yet, so i am going to add all the links back in all these non-explorized versions once they are merged in one single PR.

Copy link
Member

Choose a reason for hiding this comment

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

👍

- Removed redundant `button` route
@h-kataria h-kataria force-pushed the policy_profile_dexplorization branch from aabc4f1 to 84bdefd Compare January 4, 2021 23:17
@miq-bot
Copy link
Member

miq-bot commented Jan 4, 2021

Checked commits h-kataria/manageiq-ui-classic@8a22bb0~...84bdefd with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint
23 files checked, 2 offenses detected

**

  • 💣 💥 🔥 🚒 - Linter/Haml - Linter::Haml STDERR:
warning: parser/current is loading parser/ruby26, which recognizes
warning: 2.6.6-compliant syntax, but you are running 2.6.3.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.

  • 💣 💥 🔥 🚒 - Linter/Rubocop - Linter::Rubocop STDERR:
app/presenters/menu/default_menu.rb: Metrics/LineLength has the wrong namespace - should be Layout
/tmp/d20210104-7-wca8fe/config/routes.rb: Warning: no department given for MultilineOperationIndentation. Run `rubocop -a --only Migration/DepartmentName` to fix.

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

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

The Seal of Approval

@gtanzillo gtanzillo merged commit 7fefaed into ManageIQ:master Jan 5, 2021
@h-kataria h-kataria deleted the policy_profile_dexplorization branch January 18, 2021 21:50
@himdel himdel mentioned this pull request Jan 28, 2021
h-kataria added a commit to h-kataria/manageiq that referenced this pull request Feb 8, 2021
h-kataria added a commit to h-kataria/manageiq that referenced this pull request Feb 10, 2021
h-kataria added a commit to h-kataria/manageiq that referenced this pull request Feb 10, 2021
- Also updated startpage shortcut url
- Added missing dictionary entry for `miq_action`

for ManageIQ/manageiq-ui-classic#7348
h-kataria added a commit to h-kataria/manageiq-schema that referenced this pull request Feb 10, 2021
h-kataria added a commit to h-kataria/manageiq-schema that referenced this pull request Feb 12, 2021
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