Bug 1197052 - polkit doesn't respect configuration with addAdminRule()
Summary: polkit doesn't respect configuration with addAdminRule()
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Security Team bot
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-12 16:53 UTC by Cruiz
Modified: 2024-08-02 10:05 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cruiz 2022-03-12 16:53:01 UTC
due to #1197051 I need to change the polkit permissions for users with sudo privileges.

According to the manpage I add a file /etc/polkit-1/rules.d/40-default.rules 

polkit.addAdminRule(function(action, subject) {
       return ["unix-group:wheel"];
});

Unfortunately polkit in openSUSE does not respect this configuration
Comment 1 Marcus Meissner 2022-04-12 12:14:19 UTC
reassign to team... perhaps they know more

i think it probably is not in the right order?
Comment 2 Eugene Popov 2022-07-09 10:00:09 UTC
Any work on this? I have the same issue, but only on new installations. On the old installation (more than a year ago, but all updates are installed) this issue doesn't exist.
Comment 3 Eugene Popov 2022-07-18 07:52:57 UTC
Is this related: https://bugs.kde.org/show_bug.cgi?id=452532 ?