Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-04 | State that authorization rules must not rely on SpiderMonkey featureswip/js-rule-files | David Zeuthen | 1 | -5/+13 | |
... e.g. we reserve the right to switch out the JS engine. Signed-off-by: David Zeuthen <zeuthen@gmail.com> | |||||
2012-06-04 | Small updates to the "Writing polkit applications" chapter | David Zeuthen | 1 | -74/+161 | |
Signed-off-by: David Zeuthen <zeuthen@gmail.com> | |||||
2012-06-04 | Update pkexec(1) man page with example | David Zeuthen | 1 | -0/+1 | |
Signed-off-by: David Zeuthen <zeuthen@gmail.com> | |||||
2012-06-04 | Update links to udisks docs | David Zeuthen | 1 | -4/+2 | |
Signed-off-by: David Zeuthen <zeuthen@gmail.com> | |||||
2012-05-25 | Rewrite the "Writing polkit applications" chapter | David Zeuthen | 1 | -38/+142 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-25 | Log when the name org.fd.PolicyKit1 has been acquired | David Zeuthen | 1 | -6/+6 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-25 | Run polkitd as an unprivileged user | David Zeuthen | 7 | -14/+136 | |
There's really no reason to run all this code as uid 0. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-25 | Remove unused DBUS_GLIB_* and GIO_* variables | David Zeuthen | 2 | -5/+0 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-25 | Ensure polkitd is rebuilt if libpolkit-backend-1.la changes | David Zeuthen | 1 | -1/+1 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-25 | Move polkitd into src/polkitbackend | David Zeuthen | 5 | -43/+27 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-25 | Use g_unix_signal_add() from GLib 2.30 | David Zeuthen | 5 | -199/+4 | |
... instead of the one I wrote myself. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-24 | Clarify pkexec(1) variables | David Zeuthen | 5 | -38/+42 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-24 | Combine action and details parameters | David Zeuthen | 9 | -352/+382 | |
This also removes the ability to change detail parameters which is actually a good thing. If we later need a way to change the authentication message, we can always add something like polkit.addAuthenticationMessageRule() so the user can register a function returning a string. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-24 | Use a condition variable to signal that runaway killer thread is ready | David Zeuthen | 1 | -5/+16 | |
... instead of the unsafe g_thread_yield() busy-wait loop. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-24 | Terminate runaway scripts | David Zeuthen | 4 | -25/+205 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Use "rules", not "scripts" to refer to files in rules.d | David Zeuthen | 1 | -3/+3 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Pass expanded identity list to the AuthenticationSession | David Zeuthen | 1 | -24/+24 | |
... otherwise it things like admin-identities being set to ["unix-group:session"] won't work. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Add default rules | David Zeuthen | 3 | -10/+16 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Store private binaries in /usr/lib/polkit-1 instead of /usr/libexec | David Zeuthen | 7 | -19/+16 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Mention systemd(1) in the polkitd(8) man page | David Zeuthen | 1 | -3/+11 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Nuke polkitbackend library, localauthority backend and extension system | David Zeuthen | 27 | -2751/+16 | |
Any backend can now be implemented in JavaScript (if so desired) so we don't need any of this any more. Note that the libpolkitbackend library was never declared stable (the preprocessor symbol POLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE had to be defined) so removing it is not an API/ABI break. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Add a systemd .service file | David Zeuthen | 5 | -3/+42 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Fix distcheck | David Zeuthen | 1 | -1/+2 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Rename --enable-systemd to --enable-libsystemd-login | David Zeuthen | 3 | -23/+23 | |
It's useful to be more specific because we also want an option to install a systemd .service file which you may not want even if you are using libsystemd-login... Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Add real-world example featuring udisks2 and the drive.* variables it passes | David Zeuthen | 1 | -1/+25 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Make polkit_details_insert() remove the key if passed value is NULL | David Zeuthen | 1 | -1/+6 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Use <variablelist> instead of <informaltable> for Subject attributes | David Zeuthen | 1 | -48/+64 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Mention details["polkit.message"] and add an example using details | David Zeuthen | 1 | -5/+48 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-23 | Fix a couple typos in the docs | David Zeuthen | 3 | -5/+5 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-22 | Fix speling | David Zeuthen | 1 | -1/+1 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-22 | polkitd: add reference to polkit(8) from its man page | David Zeuthen | 1 | -1/+4 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-22 | Clarify docs a bit | David Zeuthen | 1 | -8/+6 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-22 | docs: update SEE ALSO to make each man page point to all other man pages | David Zeuthen | 5 | -8/+16 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-22 | docs: enclose local <citerefentry> in <link> to make links work | David Zeuthen | 6 | -78/+29 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-22 | Update docs | David Zeuthen | 17 | -872/+569 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-22 | Create rules.d directories | David Zeuthen | 2 | -0/+11 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Add test-cases and 10 second timeout for polkit.spawn() | David Zeuthen | 3 | -11/+538 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Mention unix-netgroup:xyz as a valid return value in addAdminRule() functions | David Zeuthen | 1 | -1/+2 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Minor doc fixes | David Zeuthen | 1 | -7/+4 | |
Nuke the has_prefix() helper, it's just confusing. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Add netgroup support | David Zeuthen | 6 | -2/+103 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Test that subject.isInGroup() works | David Zeuthen | 2 | -1/+37 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Add test cases for evaluation order | David Zeuthen | 7 | -11/+201 | |
In fact, this test uncovered that we were evaluating the rules in the wrong order. Fix this. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | docs: emphasize that registered functions may actually never be called | David Zeuthen | 1 | -2/+11 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Use addRule() and addAdminRule() | David Zeuthen | 3 | -27/+28 | |
... as the man page already says. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | Also load rules from /usr/share/polkit/rules.d | David Zeuthen | 4 | -68/+139 | |
... in addition to /etc/polkit/rules.d. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-21 | docs: clarify how rules files work | David Zeuthen | 1 | -20/+51 | |
After feedback from Matthias Clasen <mclasen@redhat.com>. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-20 | Also add an example of polkit.spawn() to polkit(8) man page | David Zeuthen | 1 | -0/+20 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-20 | docs: add AUTHORIZATION RULES section to the polkit(8) man page | David Zeuthen | 1 | -0/+238 | |
Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-18 | Don't include command-line in spawning error messages | David Zeuthen | 1 | -8/+3 | |
We don't even know it and it's not worth reconstructing it. Signed-off-by: David Zeuthen <davidz@redhat.com> | |||||
2012-05-18 | Make polkit.spawn() take an array of arguments instead of a command-line | David Zeuthen | 2 | -17/+40 | |
Much safer and easier this way. Signed-off-by: David Zeuthen <davidz@redhat.com> |