mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
networks: Rename polkit JS authority rules file
Add a comment explaining when .pkla file is used and when the .rules file is used. Tests performed: - Install policykit-1 version 0.105. Something like apt install policykit-1=0.105-26 libpolkit-agent-1-0=0.105-26 libpolkit-gobject-1-0=0.105-26 - View list of network connections. - Add a network connection. - View a network connection's details page. - Delete a network connection. - Add Debian experimental to /etc/apt/sources.list. apt update. Then install policykit-1 version 0.116. apt install -t experimental policykit-1. - Repeat all above tests. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
b3ccb75d2d
commit
a2710f1ede
@ -1,5 +1,10 @@
|
||||
/*
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
This file is used only by policykit-1 version > 0.105. A corresponding .pkla
|
||||
file is used by policykit-1 <= 0.105. See:
|
||||
https://davidz25.blogspot.com/2012/06/authorization-rules-in-polkit.html
|
||||
|
||||
*/
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
Loading…
x
Reference in New Issue
Block a user