* Creates the default database after a fresh install.
*/
public function initialize();
+
+ /**
+ * Allow to write the datastore from anonymous session (not logged in).
+ *
+ * This covers a few specific use cases, such as datastore initialization,
+ * but it should be used carefully as it can lead to security issues.
+ */
+ public function enableAnonymousPermission();
+
+ /**
+ * Disable anonymous permission.
+ */
+ public function disableAnonymousPermission();
}