<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="lockdown-online-accounts" lang="it">

  <info>
    <link type="guide" xref="user-settings#lockdown"/>
    <link type="seealso" xref="dconf-lockdown"/>
    <revision pkgversion="3.30" date="2019-02-08" status="review"/>

    <credit type="author copyright">
      <name>Jana Svarova</name>
      <email>jana.svarova@gmail.com</email>
      <years>2015</years>
    </credit>
    <credit type="editor">
      <name>Petr Kovar</name>
      <email>pknbe@volny.cz</email>
      <years>2019</years>
    </credit>

   <license xmlns="http://projectmallard.org/1.0/" href="https://creativecommons.org/licenses/by-sa/3.0/">
  <p>This work is licensed under a <link href="https://creativecommons.org/licenses/by-sa/3.0/">Creative
  Commons Attribution-ShareAlike 3.0 Unported License</link>.</p>
</license>

    <desc>Enable or disable some or all online accounts.</desc>
  <credit type="translator copyright"><name>Salvatore Cocuzza</name><email>info@salvatorecocuzza.it</email><years>2025</years></credit></info>
  <title>Allow or disallow online accounts</title>

  <p>The <app>GNOME Online Accounts</app> (GOA) are used for
  integrating personal network accounts with the GNOME Desktop and applications.
  The user can add their online accounts, such as Google, Facebook, Flickr,
  ownCloud, and others using the <app>Online Accounts</app> application.</p>

  <p>As a system administrator, you can:</p>
  <list>
    <item><p>enable all online accounts;</p></item>
    <item><p>selectively enable a few online accounts;</p></item>
    <item><p>disable all online accounts.</p></item>
  </list>

<steps>
  <title>Configure online accounts</title>
  <item><p>Make sure that you have the <sys>gnome-online-accounts</sys> package
  installed on your system.</p>
  </item>
    <item xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" xml:id="dconf-profile-user">
    <p>Creare il profilo <file its:translate="no">user</file> che contiene le seguenti righe:</p>
    <listing its:translate="no">
      <title><file>/etc/dconf/profile/user</file></title>
      <code>user-db:user
system-db:local</code>
    </listing>
    <p><input its:translate="no">local</input> è il nome di un database <sys its:translate="no" xref="dconf">dconf</sys>.</p>
  </item>
    <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-profile-user-dir">
    <p>Create the directory <file>/etc/dconf/db/local.d/</file>
    if it does not already exist.</p>
  </item>
  <item>
  <p>Create the key file <file>/etc/dconf/db/local.d/00-goa</file> to provide
  information for the <sys>local</sys> database containing the following
  configuration.</p>
   <list>
   <item><p>To enable specific providers:</p>
<code>
[org/gnome/online-accounts]
whitelisted-providers=['google', 'facebook']
</code>
  </item>
   <item><p>To disable all providers:</p>
<code>
[org/gnome/online-accounts]
whitelisted-providers=['']
</code>
  </item>
  <item><p>To allow all available providers:</p>
<code>
[org/gnome/online-accounts]
whitelisted-providers=['all']
</code>
  <p>This is the default setting.</p></item>
   </list>
  </item>
  <item>
    <p>To prevent the user from overriding these settings, create the file
    <file>/etc/dconf/db/local.d/locks/goa</file> with the following
    content:</p>
    <listing>
    <title><file>/etc/dconf/db/local.d/locks/goa</file></title>
<code>
# Blocca la lista di fornitori di cui è permesso il caricamento
/org/gnome/online-accounts/whitelisted-providers
</code>
    </listing>
  </item>
  <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-update">
    <p>Aggiornare i database di sistema:</p>
    <screen><output style="prompt"># </output><input>dconf update</input></screen>
  </item>
  <item xmlns="http://projectmallard.org/1.0/" xml:id="dconf-logoutin">
    <p>Gli utenti devono disconnettersi e accedere nuovamente prima che le impostazioni a livello di sistema abbiano effetto.</p>
  </item>
</steps>

</page>
