Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
.Unprivileged users can access the Subscriptions page
If a non-administrator navigates to the *Subscriptions* page of the web console, the web console displays a generic error message `Cockpit had an unexpected internal error`.
To work around this problem, sign in to the web console with a privileged user and make sure to check the *Reuse my password for privileged tasks* checkbox.
Created attachment 1528853[details]
Snapshot of the incident
Description of the problem:
Login to Cockpit with an unprivileged user and click on the 'Subscriptions' tab get 'Ooops' in red on the upper right corner of Cockpit. Clicking on that message get the explanation:
"Cockpit had an unexpected internal error.
You can try restarting Cockpit by pressing refresh in your browser. The javascript console contains details about this error (Ctrl-Shift-J in most browsers)."
In the java console you get:
"index.js:6786 Uncaught TypeError: E.GetSyspurpose is not a function
at index.js:6786
at Function.<anonymous> (index.js:6604)
at s (cockpit.js:958)
at cockpit.js:970
at n (cockpit.js:876)"
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Login with the non-root unprivileged user to Cockpit.
2. Click on tab "Subscriptions"
Actual results:
- Shows, not the specific message.
Expected results:
- Specific and appropriate messages should pop-up if non-root users are not allowed to click on Subscription and check status.
Additional info:
Created attachment 1528853 [details] Snapshot of the incident Description of the problem: Login to Cockpit with an unprivileged user and click on the 'Subscriptions' tab get 'Ooops' in red on the upper right corner of Cockpit. Clicking on that message get the explanation: "Cockpit had an unexpected internal error. You can try restarting Cockpit by pressing refresh in your browser. The javascript console contains details about this error (Ctrl-Shift-J in most browsers)." In the java console you get: "index.js:6786 Uncaught TypeError: E.GetSyspurpose is not a function at index.js:6786 at Function.<anonymous> (index.js:6604) at s (cockpit.js:958) at cockpit.js:970 at n (cockpit.js:876)" Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Login with the non-root unprivileged user to Cockpit. 2. Click on tab "Subscriptions" Actual results: - Shows, not the specific message. Expected results: - Specific and appropriate messages should pop-up if non-root users are not allowed to click on Subscription and check status. Additional info: