Skip to content

Commit

Permalink
Merge pull request #17849 from kbrock/bz_1608554
Browse files Browse the repository at this point in the history
Converge request user roles to match API and UI
  • Loading branch information
gtanzillo authored Aug 16, 2018
2 parents 880ef45 + 9a63e12 commit 31599e6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/models/miq_product_feature.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class MiqProductFeature < ApplicationRecord
SUPER_ADMIN_FEATURE = "everything".freeze
REPORT_ADMIN_FEATURE = "miq_report_superadmin".freeze
REQUEST_ADMIN_FEATURE = "miq_request_superadmin".freeze
REQUEST_ADMIN_FEATURE = "miq_request_approval".freeze
ADMIN_FEATURE = REPORT_ADMIN_FEATURE
TENANT_ADMIN_FEATURE = "rbac_tenant".freeze

Expand Down
4 changes: 0 additions & 4 deletions db/fixtures/miq_product_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@
:description: Edit a Request
:feature_type: admin
:identifier: miq_request_edit
- :name: Request Admin
:description: Edit other user's requests
:feature_type: admin
:identifier: miq_request_superadmin

# MiqRequest under Automation/Automate tab for Automate Requests
- :name: Requests
Expand Down
2 changes: 1 addition & 1 deletion db/fixtures/miq_user_roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
- miq_report
- miq_report_superadmin
- miq_request
- miq_request_superadmin
- miq_request_approval
- miq_template
- orchestration_stack
- physical_rack
Expand Down

0 comments on commit 31599e6

Please sign in to comment.