diff options
author | David Zeuthen <davidz@redhat.com> | 2012-05-23 16:39:25 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2012-05-23 16:39:25 -0400 |
commit | 0f830c76048229895164837f8ce01869d88a2616 (patch) | |
tree | 015f0ac20dce8f204553aa93fb2ff353abe60ce5 /docs | |
parent | 29950854f6b9e9b8ea2d96d67c79eeec1046a4f1 (diff) | |
download | polkit-0f830c76048229895164837f8ce01869d88a2616.tar.gz |
Nuke polkitbackend library, localauthority backend and extension system
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>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/polkit/Makefile.am | 3 | ||||
-rw-r--r-- | docs/polkit/overview.xml | 33 | ||||
-rw-r--r-- | docs/polkit/polkit-1-docs.xml | 9 | ||||
-rw-r--r-- | docs/polkit/polkit-1-sections.txt | 80 | ||||
-rw-r--r-- | docs/polkit/polkit-1.types | 9 |
5 files changed, 1 insertions, 133 deletions
diff --git a/docs/polkit/Makefile.am b/docs/polkit/Makefile.am index 72d2fb8..a9bac88 100644 --- a/docs/polkit/Makefile.am +++ b/docs/polkit/Makefile.am @@ -31,8 +31,6 @@ INCLUDES = \ $(GIO_CFLAGS) \ -I$(top_srcdir)/src/polkit \ -I$(top_builddir)/src/polkit \ - -I$(top_srcdir)/src/polkitbackend \ - -I$(top_builddir)/src/polkitbackend \ -I$(top_srcdir)/src/polkitagent \ -I$(top_builddir)/src/polkitagent \ $(NULL) @@ -42,7 +40,6 @@ GTKDOC_LIBS = \ $(GLIB_LIBS) \ $(GIO_LIBS) \ $(top_builddir)/src/polkit/libpolkit-gobject-1.la \ - $(top_builddir)/src/polkitbackend/libpolkit-backend-1.la \ $(top_builddir)/src/polkitagent/libpolkit-agent-1.la \ $(NULL) diff --git a/docs/polkit/overview.xml b/docs/polkit/overview.xml index 24440d2..9f5a1a9 100644 --- a/docs/polkit/overview.xml +++ b/docs/polkit/overview.xml @@ -90,37 +90,4 @@ </para> </chapter> - <chapter id="polkit-extending"> - <title>Extending polkit</title> - <para> - polkit exports a number of extension points to - replace/customize behavior of the polkit daemon. Note that - all extensions run with super user privileges in the same - process as the polkit daemon. - </para> - <para> - The polkit daemons loads extensions - from the <filename>&extensiondir;</filename> directory. See - the <link linkend="gio-Extension-Points">GIO Extension Point - documentation</link> for more information about the extension - system used by polkit. - </para> - <para> - The following extension points are currently defined by - polkit: - </para> - - <formalpara> - <title>POLKIT_BACKEND_AUTHORITY_EXTENSION_POINT_NAME</title> - <para> - Allows replacing the Authority – the entity responsible for - making authorization decisions. Implementations of this - extension point must be derived from the - PolkitBackendAuthority class. See - the <filename>src/nullbackend/</filename> directory in the - polkit sources for an example. - </para> - </formalpara> - - </chapter> </part> diff --git a/docs/polkit/polkit-1-docs.xml b/docs/polkit/polkit-1-docs.xml index 84158ef..549768c 100644 --- a/docs/polkit/polkit-1-docs.xml +++ b/docs/polkit/polkit-1-docs.xml @@ -23,7 +23,7 @@ </part> <part id="ref-api"> - <title>Client API Reference</title> + <title>Library API Reference</title> <xi:include href="xml/polkitauthority.xml"/> <xi:include href="xml/polkitauthorizationresult.xml"/> <xi:include href="xml/polkitdetails.xml"/> @@ -47,13 +47,6 @@ </chapter> </part> - <part id="ref-backend-api"> - <title>Backend API Reference</title> - <xi:include href="xml/polkitbackendauthority.xml"/> - <xi:include href="xml/polkitbackendinteractiveauthority.xml"/> - <xi:include href="xml/polkitbackendlocalauthority.xml"/> - </part> - <part id="ref-authentication-agent-api"> <title>Authentication Agent API Reference</title> <xi:include href="xml/polkitagentlistener.xml"/> diff --git a/docs/polkit/polkit-1-sections.txt b/docs/polkit/polkit-1-sections.txt index 3881004..41b37e3 100644 --- a/docs/polkit/polkit-1-sections.txt +++ b/docs/polkit/polkit-1-sections.txt @@ -291,86 +291,6 @@ POLKIT_DETAILS_GET_CLASS </SECTION> <SECTION> -<FILE>polkitbackendauthority</FILE> -<TITLE>PolkitBackendAuthority</TITLE> -POLKIT_BACKEND_AUTHORITY_EXTENSION_POINT_NAME -PolkitBackendAuthority -PolkitBackendAuthorityClass -polkit_backend_authority_get_name -polkit_backend_authority_get_version -polkit_backend_authority_get_features -polkit_backend_authority_check_authorization -polkit_backend_authority_check_authorization_finish -polkit_backend_authority_register_authentication_agent -polkit_backend_authority_unregister_authentication_agent -polkit_backend_authority_authentication_agent_response -polkit_backend_authority_enumerate_actions -polkit_backend_authority_enumerate_temporary_authorizations -polkit_backend_authority_revoke_temporary_authorizations -polkit_backend_authority_revoke_temporary_authorization_by_id -polkit_backend_authority_get -polkit_backend_authority_register -polkit_backend_authority_unregister -<SUBSECTION Standard> -POLKIT_BACKEND_AUTHORITY -POLKIT_BACKEND_IS_AUTHORITY -POLKIT_BACKEND_TYPE_AUTHORITY -polkit_backend_authority_get_type -POLKIT_BACKEND_AUTHORITY_CLASS -POLKIT_BACKEND_IS_AUTHORITY_CLASS -POLKIT_BACKEND_AUTHORITY_GET_CLASS -</SECTION> - -<SECTION> -<FILE>polkitbackendactionlookup</FILE> -<TITLE>PolkitBackendActionLookup</TITLE> -POLKIT_BACKEND_ACTION_LOOKUP_EXTENSION_POINT_NAME -PolkitBackendActionLookup -PolkitBackendActionLookupIface -polkit_backend_action_lookup_get_message -polkit_backend_action_lookup_get_icon_name -polkit_backend_action_lookup_get_details -<SUBSECTION Standard> -POLKIT_BACKEND_ACTION_LOOKUP -POLKIT_BACKEND_IS_ACTION_LOOKUP -POLKIT_BACKEND_TYPE_ACTION_LOOKUP -polkit_backend_action_lookup_get_type -POLKIT_BACKEND_ACTION_LOOKUP_GET_IFACE -</SECTION> - -<SECTION> -<FILE>polkitbackendlocalauthority</FILE> -<TITLE>PolkitBackendLocalAuthority</TITLE> -PolkitBackendLocalAuthority -PolkitBackendLocalAuthorityClass -<SUBSECTION Standard> -POLKIT_BACKEND_LOCAL_AUTHORITY -POLKIT_BACKEND_IS_LOCAL_AUTHORITY -POLKIT_BACKEND_TYPE_LOCAL_AUTHORITY -polkit_backend_local_authority_get_type -POLKIT_BACKEND_LOCAL_AUTHORITY_CLASS -POLKIT_BACKEND_IS_LOCAL_AUTHORITY_CLASS -POLKIT_BACKEND_LOCAL_AUTHORITY_GET_CLASS -</SECTION> - -<SECTION> -<FILE>polkitbackendinteractiveauthority</FILE> -<TITLE>PolkitBackendInteractiveAuthority</TITLE> -PolkitBackendInteractiveAuthority -PolkitBackendInteractiveAuthorityClass -polkit_backend_interactive_authority_get_admin_identities -polkit_backend_interactive_authority_check_authorization_sync -<SUBSECTION Standard> -POLKIT_BACKEND_INTERACTIVE_AUTHORITY -POLKIT_BACKEND_IS_INTERACTIVE_AUTHORITY -POLKIT_BACKEND_TYPE_INTERACTIVE_AUTHORITY -polkit_backend_interactive_authority_get_type -POLKIT_BACKEND_INTERACTIVE_AUTHORITY_CLASS -POLKIT_BACKEND_IS_INTERACTIVE_AUTHORITY_CLASS -POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_CLASS -</SECTION> - -<SECTION> <FILE>polkitagentsession</FILE> <TITLE>PolkitAgentSession</TITLE> PolkitAgentSession diff --git a/docs/polkit/polkit-1.types b/docs/polkit/polkit-1.types index b1e13cc..6354d12 100644 --- a/docs/polkit/polkit-1.types +++ b/docs/polkit/polkit-1.types @@ -16,15 +16,6 @@ polkit_authorization_result_get_type polkit_temporary_authorization_get_type polkit_permission_get_type -polkit_backend_authority_get_type -polkit_backend_interactive_authority_get_type -polkit_backend_local_authority_get_type -polkit_backend_action_lookup_get_type -polkit_backend_action_pool_get_type -polkit_backend_session_monitor_get_type -polkit_backend_config_source_get_type -polkit_backend_local_authorization_store_get_type - polkit_agent_session_get_type polkit_agent_listener_get_type polkit_agent_text_listener_get_type |