Skip to content

Commit

Permalink
Added separate features for Requests subtabs
Browse files Browse the repository at this point in the history
Separated features for each "Requests" sub tab under Automation/Automate/Requests & Compute/Infrastructure/Requests to provide users with capability to allow access to each type individually. Currently there was only features for Service/Requests user was forced to have access to Service/Requests features to be able to see Automation or Host Provisioning requests.

https://bugzilla.redhat.com/show_bug.cgi?id=1508490
  • Loading branch information
h-kataria committed Jun 14, 2018
1 parent 887cc81 commit c3de340
Showing 1 changed file with 103 additions and 1 deletion.
104 changes: 103 additions & 1 deletion db/fixtures/miq_product_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
:feature_type: view
:identifier: infra_topology_view

# MiqRequest
# MiqRequest under Services maintab for all Request types
- :name: Requests
:description: Everything under Requests
:feature_type: node
Expand Down Expand Up @@ -185,6 +185,108 @@
:feature_type: admin
:identifier: miq_request_superadmin

# MiqRequest under Compute/Infrastructure tab for Host Requests
- :name: Requests
:description: Everything under Requests
:feature_type: node
:identifier: host_miq_request
:children:
- :name: View
:description: View Requests
:feature_type: view
:identifier: host_miq_request_view
:children:
- :name: List
:description: Display Lists of Requests
:feature_type: view
:identifier: host_miq_request_show_list
- :name: Show
:description: Display Individual Requests
:feature_type: view
:identifier: host_miq_request_show
- :name: Reload
:description: Reload Requests
:feature_type: view
:hidden: true
:identifier: host_miq_request_reload
- :name: Operate
:description: Perform Operations on Requests
:feature_type: control
:identifier: host_miq_request_control
:children:
- :name: Approve and Deny
:description: Approve and Deny Requests
:feature_type: control
:identifier: host_miq_request_approval
- :name: Modify
:description: Modify Requests
:feature_type: admin
:identifier: host_miq_request_admin
:children:
- :name: Copy
:description: Copy a Request
:feature_type: admin
:identifier: host_miq_request_copy
- :name: Delete
:description: Delete Requests
:feature_type: admin
:identifier: host_miq_request_delete
- :name: Edit
:description: Edit a Request
:feature_type: admin
:identifier: host_miq_request_edit

# MiqRequest under Automation/Automate tab for Automate Requests
- :name: Requests
:description: Everything under Requests
:feature_type: node
:identifier: ae_miq_request
:children:
- :name: View
:description: View Requests
:feature_type: view
:identifier: ae_miq_request_view
:children:
- :name: List
:description: Display Lists of Requests
:feature_type: view
:identifier: ae_miq_request_show_list
- :name: Show
:description: Display Individual Requests
:feature_type: view
:identifier: ae_miq_request_show
- :name: Reload
:description: Reload Requests
:feature_type: view
:hidden: true
:identifier: ae_miq_request_reload
- :name: Operate
:description: Perform Operations on Requests
:feature_type: control
:identifier: ae_miq_request_control
:children:
- :name: Approve and Deny
:description: Approve and Deny Requests
:feature_type: control
:identifier: ae_miq_request_approval
- :name: Modify
:description: Modify Requests
:feature_type: admin
:identifier: ae_miq_request_admin
:children:
- :name: Copy
:description: Copy a Request
:feature_type: admin
:identifier: ae_miq_request_copy
- :name: Delete
:description: Delete Requests
:feature_type: admin
:identifier: ae_miq_request_delete
- :name: Edit
:description: Edit a Request
:feature_type: admin
:identifier: ae_miq_request_edit

# Catalog Items
- :name: Catalogs Explorer
:description: Everything under Catalogs
Expand Down

0 comments on commit c3de340

Please sign in to comment.