code: function(oSettings) {
  		EventProvider.apply(this);
  		if (!oSettings) {
  			throw new Error("no flex settings provided");
  		}
  		// Defaults layers used for standard changes, such as 'move' or 'add'
  		if (!oSettings.defaultLayerPermissions) {
  			oSettings.defaultLayerPermissions = {
  				"VENDOR": true,
  				"CUSTOMER_BASE": true,
  				"CUSTOMER": true,
  				"USER": false
  			};
  		}
  
  		// These are the permissions for the Developer Mode Changes, e.g. 'propertyChange', 'propertyBindingChange'
  		if (!oSettings.developerModeLayerPermissions) {
  			oSettings.developerModeLayerPermissions = {
  				"VENDOR": true,
  				"CUSTOMER_BASE": true,
  				"CUSTOMER": false,
  				"USER": false
  			};
  		}
  
  		// By default, variant sharing is enabled
  		if (!(Settings._IS_VARIANT_SHARING_ENABLED in oSettings)) {
  			oSettings.isVariantSharingEnabled = true;
  		}
  
  		this._oSettings = oSettings;
  		this._hasMergeErrorOccured = false;
  	}
docs: FlexSettings access
  
  @param {object} oSettings settings as JSON object
  @constructor
  @alias sap.ui.fl.registry.Settings
  @author SAP SE
  @experimental Since 1.27.0
  @private