Bug 1125995

Summary: Permission Error in case of not enough provisioning entitlements.
Product: Red Hat Satellite 5 Reporter: Dimitar Yordanov <dyordano>
Component: WebUIAssignee: Grant Gainey <ggainey>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 560CC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-09 11:20: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: 462714    

Description Dimitar Yordanov 2014-08-01 14:41:29 UTC
Description of problem:
Permission Error in case of not enough provisioning entitlements.

Version-Release number of selected component (if applicable):
spacewalk-java-2.0.2-79

How reproducible:
100%

Steps to Reproduce:
1. Register 2 client to Satellite.
2. Create new organization "test_org" with Trust to the main Organization.
3. Set 1 Provisioning entitlement to "test_org"
4. Migrate both clients to the "test_org".
    Systems -> the client -> Migrate
5. Login to the new Organization
6. Configuration -> Systems -> Target Systems -> Select both systems -> Press "Enable SW Configuration Management"
7. Error Condition "Could not grant provisioning entitlement."
8. Press on the name of some of the systems

Actual results:

 Permission Error.

You do not have the appropriate permission set to access the requested page. You may have reached this error page in one of several ways:

    Your login session has expired. For security reasons, Spacewalk terminates your login session after 60 minutes of inactivity. To sign in again, click here.
    You've found an error in our site. Please contact your Support representative with details of how you received this message.
    Your browser does not have cookies enabled. The Spacewalk requires cookies in order to function; if you have disabled them, please re-enable them to use the site.
    You've done something naughty. Stop it.


Additional info:

0.34.130.172 - - [01/Aug/2014:13:41:21 -0400] "GET /rhn/systems/details/configuration/Overview.do?sid=1000010002 HTTP/1.1" 403 8888


    <action path="/configuration/Overview"
        scope="request"
        input="/WEB-INF/pages/configuration/overview/overview.jsp"
        type="com.redhat.rhn.frontend.action.configuration.overview.Overview"
        className="com.redhat.rhn.frontend.struts.RhnActionMapping">
        <set-property property="acls" value="org_entitlement(rhn_provisioning);user_role(config_admin)"/>
        <forward name="default"
                 path="/WEB-INF/pages/configuration/overview/overview.jsp"/>
    </action>

Comment 1 Tomas Lestach 2018-04-09 11:20:02 UTC
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. 

Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.