To enable a feature flag, use the cf enable-feature-flag FEATURE-FLAG-NAME command:

$ cf enable-feature-flag user_org_creation

To disable a feature flag, use the cf disable-feature-flag FEATURE-FLAG-NAME command:

$ cf disable-feature-flag user_org_creation

Feature Flags

Only administrators can set feature flags.
All flags are enabled by default except user_org_creation and diego_docker.
When disabled, these features are only available to administrators.

The following list provides descriptions of the features enabled or disabled by
each flag, and the minimum Cloud Controller API (CC API) version necessary to use the feature. To determine your CC API version, follow the instructions in Identifying the API Endpoint for your PAS Instance.:

user_org_creation: Any user can create an organization. If enabled, this flag activates the Create a New Org link in the dropdown menu of the left navigation menu in Apps Manager. Minimum CC API version: 2.12.

Disabling Custom Buildpacks

You can disable custom buildpacks using your Ops Manager PAS tile. From the Cloud Controller tab, check the Disable Custom Buildpacks checkbox, as shown in the image below.

By default, the cf CLI gives developers the option of using a custom buildpack when they deploy apps to PAS. To do so, they use the -b option to provide a custom buildpack URL with the cf push command. The Disable Custom Buildpacks checkbox prevents the -b option from being used with external buildpack URLs.

For more information about custom buildpacks, refer to the buildpacks section of the PCF documentation.