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

Remove references to the Override checkbox for filters #3548

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aneta-petrova
Copy link
Member

What changes are you introducing?

I'm removing references to the ability to override organizations and locations on the filter level.

Why are you introducing these changes? (Explanation, links to references, issues, etc.)

The option to override orgs and locs on the filter level is being removed in theforeman/foreman#10370

Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)

Checklists

  • I am okay with my commits getting squashed when you merge this PR.
  • I am familiar with the contributing guidelines.

Please cherry-pick my commits into:

  • Foreman 3.13/Katello 4.15
  • Foreman 3.12/Katello 4.14 (Satellite 6.16)
  • Foreman 3.11/Katello 4.13 (orcharhino 6.11 on EL8 only; orcharhino 7.0 on EL8+EL9)
  • Foreman 3.10/Katello 4.12
  • Foreman 3.9/Katello 4.11 (Satellite 6.15; orcharhino 6.8/6.9/6.10)
  • Foreman 3.8/Katello 4.10
  • Foreman 3.7/Katello 4.9 (Satellite 6.14)
  • We do not accept PRs for Foreman older than 3.7.

@aneta-petrova aneta-petrova added Needs tech review Requires a review from the technical perspective Waiting for code Requires merge of related code in another repository before it can be merged and removed Not yet reviewed labels Jan 6, 2025
@aneta-petrova
Copy link
Member Author

I asked @MariaAga and @pnovotny for tech review.

The *Unlimited* checkbox is selected by default, which means that the permission is applied on all resources of the selected type.
When you disable the *Unlimited* checkbox, the *Search* field activates.
. For certain *Resource type* options, the *Unlimited* checkbox is available.
If *Unlimited* is selected, the permission is applied on all resources of the selected type.
Copy link
Member

Choose a reason for hiding this comment

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

We might want to add that unlimited will be disabled if the role parent has a loc/org selected, alert in foreman says: "Info alert:The filter is scoped to the selected organizations and locations, therefore can't be unlimited"

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm inclined to say that we don't need to go into this kind of detail here. I left a comment on the code PR with a minor suggestion to change the wording of the alert. I'd say that if users will know what's happening from looking at the web UI form, then that's great and there is no need for additional words in the docs.

Copy link

@pnovotny pnovotny left a comment

Choose a reason for hiding this comment

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

QA-wise LGTM

@aneta-petrova
Copy link
Member Author

Thanks for the reviews, that covers tech review.

@aneta-petrova aneta-petrova added tech review done No issues from the technical perspective Needs style review Requires a review from docs style/grammar perspective and removed Needs tech review Requires a review from the technical perspective labels Jan 16, 2025
Copy link
Contributor

@Lennonka Lennonka left a comment

Choose a reason for hiding this comment

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

LGTM

@aneta-petrova aneta-petrova added style review done No issues from docs style/grammar perspective and removed Needs style review Requires a review from docs style/grammar perspective labels Jan 21, 2025
@aneta-petrova aneta-petrova deleted the orgs-locs-filter-level branch January 23, 2025 11:34
@aneta-petrova aneta-petrova restored the orgs-locs-filter-level branch January 23, 2025 11:44
@aneta-petrova aneta-petrova reopened this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style review done No issues from docs style/grammar perspective tech review done No issues from the technical perspective Waiting for code Requires merge of related code in another repository before it can be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants