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.14.z] non-admin user acess with usergroup #15664

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.

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 added 6.14.z Introduced in or relating directly to Satellite 6.14 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: 7749
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 712.96s (0:11:52) ======

@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

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7755
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 659.26s (0:10:59) ======

@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: 7757
Build Status: SUCCESS
PRT Comment: pytest /opt/app-root/src/robottelo/tests/foreman -v -m build_sanity --external-logging
Test Result : ======= 11 passed, 5378 deselected, 5486 warnings in 1391.12s (0:23:11) ========

@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 16, 2024
@Gauravtalreja1 Gauravtalreja1 merged commit 0d1fc40 into 6.14.z Jul 16, 2024
18 of 23 checks passed
@Gauravtalreja1 Gauravtalreja1 deleted the cherry-pick-6.14.z-070b1dc3e29ed4af71492ec79824c717dba83dcd branch July 16, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z Introduced in or relating directly to Satellite 6.14 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