Allow or disallow online accounts
The GNOME Online Accounts (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 Online Accounts application.
As a system administrator, you can:
enable all online accounts;
selectively enable a few online accounts;
disable all online accounts.
Configure online accounts
Make sure that you have the gnome-online-accounts package installed on your system.
Create the user profile which contains the following lines:
local is the name of a dconf database.
Create the directory /etc/dconf/db/local.d/ if it does not already exist.
Create the key file /etc/dconf/db/local.d/00-goa to provide information for the local database containing the following configuration.
To enable specific providers:
[org/gnome/online-accounts] whitelisted-providers= ['google', 'facebook']
To disable all providers:
[org/gnome/online-accounts] whitelisted-providers= ['']
To allow all available providers:
[org/gnome/online-accounts] whitelisted-providers= ['all']
This is the default setting.
To prevent the user from overriding these settings, create the file /etc/dconf/db/local.d/locks/goa with the following content:
# Lock the list of providers that are allowed to be loaded /org/gnome/online-accounts/whitelisted-providers
Update the system databases:
# dconf update
Users must log out and back in again before the system-wide settings take effect.