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

Add New Product Feature to See Request Logs #22701

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

DavidResende0
Copy link
Member

@DavidResende0 DavidResende0 commented Sep 12, 2023

@miq-bot
Copy link
Member

miq-bot commented Sep 12, 2023

Checked commit DavidResende0@036c61b with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 🍪

- :name: Logs
:description: Display Request Logs
:feature_type: view
:identifier: miq_request_show_logs
Copy link
Member

Choose a reason for hiding this comment

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

how does this work if you have miq_request_view but no child features? For example:

- miq_request_view

I assume it shows the logs.

What does the UI do if you modif your role and select all the features below miq_request_view, such as miq_request_show_list, miq_request_show, etc. but exclude miq_request_show_logs? I hope that disables it in the UI for your role.

Copy link
Member

Choose a reason for hiding this comment

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

Discussed this with @DavidResende0 and he verified that the default behavior for user roles like plain user which have miq_request_view but no child nodes is to be shown in the UI with all child nodes selected and therefore they'd default to showing request logs.

Users can configure roles and remove the option for the request logs for each user role as they see fit.

This is basically what I was asking... if it's opt-in or opt-out. It should be opt-out for most if not all user roles.

@miq-bot
Copy link
Member

miq-bot commented Jan 1, 2024

This pull request has been automatically marked as stale because it has not been updated for at least 3 months.

If these changes are still valid, please remove the stale label, make any changes requested by reviewers (if any), and ensure that this issue is being looked at by the assigned/reviewer(s).

@jrafanie jrafanie removed the stale label Jan 10, 2024
@jrafanie jrafanie merged commit 05f0539 into ManageIQ:master Jan 10, 2024
9 checks passed
@Fryguy
Copy link
Member

Fryguy commented Jan 11, 2024

Backported to quinteros in commit 30f06ed.

commit 30f06ed5b5e0039942518df9baa4c9a252ee9fd1
Author: Joe Rafaniello <[email protected]>
Date:   Wed Jan 10 15:57:57 2024 -0500

    Merge pull request #22701 from DavidResende0/request-logs-view-feature
    
    Add New Product Feature to See Request Logs
    
    (cherry picked from commit 05f053996e96d57dd6378b1fc395fac315f26803)

Fryguy pushed a commit that referenced this pull request Jan 11, 2024
Add New Product Feature to See Request Logs

(cherry picked from commit 05f0539)
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