<?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" xml:lang="sv">

  <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>

   <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <desc>Aktivera eller inaktivera några eller alla nätkonton.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Anders Jonsson</mal:name>
      <mal:email>anders.jonsson@norsjovallen.se</mal:email>
      <mal:years>2017, 2023</mal:years>
    </mal:credit>
  </info>
  <title>Tillåta eller förbjuda nätkonton</title>

  <p><app>GNOME Nätkonton</app> (GNOME Online Accounts, GOA) används för att integrera personliga nätverkskonton med GNOME-skrivbordet och program. Användaren kan lägga till sina nätkonton, så som Google, Facebook, Flickr, ownCloud med flera via programmet <app>Nätkonton</app>.</p>

  <p>Som en systemadministratör kan du:</p>
  <list>
    <item><p>aktivera alla nätkonton;</p></item>
    <item><p>välja några få nätkonton för aktivering;</p></item>
    <item><p>inaktivera alla nätkonton.</p></item>
  </list>

<steps>
  <title>Konfigurera nätkonton</title>
  <item><p>Säkerställ att du har paketet <sys>gnome-online-accounts</sys> installerat på ditt system.</p>
  </item>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/>
  <item>
  <p>Skapa nyckelfilen <file>/etc/dconf/db/local.d/00-goa</file> för att tillhandahålla information åt databasen <sys>local</sys> som innehåller följande konfiguration.</p>
   <list>
   <item><p>För att aktivera specifika leverantörer:</p>
<code>
[org/gnome/online-accounts]
whitelisted-providers= ['google', 'facebook']
</code>
  </item>
   <item><p>För att inaktivera alla leverantörer:</p>
<code>
[org/gnome/online-accounts]
whitelisted-providers= ['']
</code>
  </item>
  <item><p>För att tillåta alla tillgängliga leverantörer:</p>
<code>
[org/gnome/online-accounts]
whitelisted-providers= ['all']
</code>
  <p>Detta är standardinställningen.</p></item>
   </list>
  </item>
  <item>
    <p>För att förhindra användaren från att åsidosätta dessa inställningar, skapa filen <file>/etc/dconf/db/local.d/locks/goa</file> med följande innehåll:</p>
    <listing>
    <title><file>/etc/dconf/db/local.d/locks/goa</file></title>
<code>
# Lås listan över leverantörer som tillåts att läsas in
/org/gnome/online-accounts/whitelisted-providers
</code>
    </listing>
  </item>
  <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/>
  <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/>
</steps>

</page>
