Commit cdbe6fc5 authored by Zeeshan Ali's avatar Zeeshan Ali

service-client: Don't auth sys components by agent

Clients that are system components should not have to be authorized by
agent.
parent 55a80bac
...@@ -361,6 +361,7 @@ gclue_service_client_handle_start (GClueClient *client, ...@@ -361,6 +361,7 @@ gclue_service_client_handle_start (GClueClient *client,
/* No agent == No authorization needed */ /* No agent == No authorization needed */
if (priv->agent_proxy == NULL || if (priv->agent_proxy == NULL ||
gclue_config_is_system_component (config, desktop_id) ||
gclue_config_is_app_allowed (config, gclue_config_is_app_allowed (config,
desktop_id, desktop_id,
priv->client_info)) { priv->client_info)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment