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

[6.15.z] non-admin user acess with usergroup #15663

Conversation

Satellite-QE
Copy link
Collaborator

@Satellite-QE Satellite-QE commented Jul 15, 2024

Cherrypick of PR: #15489

Problem Statement

With user which is non-admin but it is in usergroup which should give him administrator role is possible to access lot of pages, but giving Permission denied

Solution

It verifies if a non-admin user in the user group can access the WebUI.

Dependent PR: SatelliteQE/airgun#1453

Bump tenacity from 8.4.2 to 8.5.0 (#15587)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 070b1dc)
@Satellite-QE Satellite-QE requested a review from a team as a code owner July 15, 2024 19:17
@Satellite-QE Satellite-QE added 6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Jul 15, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_non_admin_user_access_with_usergroup
airgun: 1461

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Jul 15, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7750
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_non_admin_user_access_with_usergroup --external-logging
Test Result : ====== 1 passed, 16 deselected, 27 warnings, 1 error in 735.05s (0:12:15) ======

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Jul 15, 2024
@amolpati30
Copy link
Contributor

trigger: test-robottelo
pytest: tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_non_admin_user_access_with_usergroup
airgun: 1453

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7756
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_non_admin_user_access_with_usergroup --external-logging
Test Result : ========== 1 failed, 16 deselected, 26 warnings in 657.39s (0:10:57) ===========

@Gauravtalreja1
Copy link
Collaborator

trigger: test-robottelo
pytest: tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_non_admin_user_access_with_usergroup

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7762
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_non_admin_user_access_with_usergroup --external-logging
Test Result : ====== 1 passed, 16 deselected, 27 warnings, 1 error in 750.55s (0:12:30) ======

@amolpati30
Copy link
Contributor

"trigger": "test-robottelo"
"pytest": "-k 'test_positive_non_admin_user_access_with_usergroup' tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt"

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7772
Build Status: SUCCESS
PRT Comment: pytest /opt/app-root/src/robottelo/tests/foreman -v -m build_sanity --external-logging
Test Result : ======= 11 passed, 5460 deselected, 5572 warnings in 1937.46s (0:32:17) ========

@Satellite-QE Satellite-QE added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Jul 18, 2024
@Satellite-QE Satellite-QE merged commit 05af9f0 into 6.15.z Jul 18, 2024
19 of 23 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.15.z-070b1dc3e29ed4af71492ec79824c717dba83dcd branch July 18, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants