Added permissions config file. Firing event cloudwriter.permissions for obtaining information