Bug 1150010
Summary: | Read-only user can register new system or manipulate with configuration channels | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Martin Korbel <mkorbel> |
Component: | API | Assignee: | Michael Mráka <mmraka> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Korbel <mkorbel> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 570 | CC: | cperry |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-backend-2.3.3-18-sat | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-13 10:25:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1128184 |
Description
Martin Korbel
2014-10-07 08:53:00 UTC
backend likely needs a central location to fail read-only user authentications, maybe with new error message thrown. Fixed in spacewalk master by commit d967d141850f7bde1cb72364e3cdbf25f4d61511 1150010 - deny read-only user from accessing XMLRPC API Backported to SATELLITE-5.7 as commit 522ebb3874696975ae75819432dbc8dc03687c9e 1150010 - deny read-only user from accessing XMLRPC API VERIFIED on Satellite-5.7.0-RHEL6-re20141119.0 (spacewalk-backend-2.3.3-20.el6sat) Reproducer from comment 0: > rhncfg-manager create-channel --username test --password xxx test Session error: (-702, '\nError Class Code: 702\nError Class Info: This user has read only API access. Action denied.\nExplanation: \n An error has occurred while processing your request. If this problem\n persists please enter a bug report at bugzilla.redhat.com.\n If you choose to submit the bug report, please be sure to include\n details of what you were trying to do when this error occurred and\n details on how to reproduce this problem.\n') > rhncfg-manager add -c test --username test --password xxx /etc/sysconfig/rhn/up2date Session error: (-702, '\nError Class Code: 702\nError Class Info: This user has read only API access. Action denied.\nExplanation: \n An error has occurred while processing your request. If this problem\n persists please enter a bug report at bugzilla.redhat.com.\n If you choose to submit the bug report, please be sure to include\n details of what you were trying to do when this error occurred and\n details on how to reproduce this problem.\n') > rhnpush -c clone-rhn-tools-rhel-x86_64-server-6 -u test -p xxx rhn-custom-info-5.4.14-1.el6sat.noarch.rpm Error Class Code: 702 Error Class Info: This user has read only API access. Action denied. Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem. Login via WebUI: This user has read only API access. WebUI login is denied. With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff NOTE: This bug has not been re-verified (moved to RELEASE_PENDING) prior to release. We assume that the bug has indeed been fixed and not regressed since we initially verified it. Please re-open in the future if needed. |