Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
polkit
50-default.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 50-default.rules of Package polkit
/* make sure that users that are in an admin group always authenticate with * their own password and don't get a choice. Users not in an admin group get * the full choice and may also authenticate as root */ polkit._suse_admin_groups = []; polkit.addAdminRule(function(action, subject) { var rules = ["unix-user:0"]; for (var i in polkit._suse_admin_groups) { var g = polkit._suse_admin_groups[i]; if (subject.isInGroup(g)) return ["unix-user:"+subject.user]; rules.push("unix-group:"+g); } return rules; });
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor