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.
Bug 1882380 - Please allow `NM.Device.get_applied_connection_async()` to run by non-privilege user
Summary: Please allow `NM.Device.get_applied_connection_async()` to run by non-privile...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.0
Assignee: Thomas Haller
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-24 12:32 UTC by Gris Ge
Modified: 2021-05-18 13:30 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.30.0-0.1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 13:29:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gris Ge 2020-09-24 12:32:37 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Gris Ge 2020-09-24 12:33:56 UTC
Just nice to have. Not a must.

Comment 2 Thomas Haller 2020-09-24 12:40:12 UTC
A completely non-previledged user shouldn't be able to change the system. Some previledges are required, and we use polkit permissions for that.

Currently you need "org.freedesktop.NetworkManager.network-control" permissions.

What is your use-case, and why does your user not have the required permission?

Comment 3 Thomas Haller 2020-09-24 12:41:13 UTC
a "get_applied_connection_async". Sorry. Yes, that makes sense...

Comment 4 Thomas Haller 2020-09-24 12:44:23 UTC
(In reply to Thomas Haller from comment #3)
> a "get_applied_connection_async". Sorry. Yes, that makes sense...

also because a non-prejudicial user can look at the connection profiles...

Comment 5 Gris Ge 2020-09-24 15:32:55 UTC
The non-privileged user should able to see the applied connection profiles.

Comment 7 Thomas Haller 2020-09-29 09:52:43 UTC
merged to upstream master, before 1.28.0

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/634

Comment 14 errata-xmlrpc 2021-05-18 13:29:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: NetworkManager and libnma security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1574


Note You need to log in before you can comment on or make changes to this bug.