On SQ.com, we want to allow users to have unlimited private projects as soon as a user will provide billing information on an organization.
To get the big picture, please read https://xtranet.sonarsource.com/display/PLAT/Support+for+paid+features+on+SonarQube.com
In this MMF, we concentrate on the way we'll be able to lock and unlock features based on the organization plan (free vs. paid).
All the use cases are described here: https://xtranet.sonarsource.com/display/PLAT/Spec+for+MMF-804%3A+Lock+SQ+features+based+on+the+organization+plan
When access to muppet is failing for any reason :
- During analysis : Accept all analysis
- When trying to update default visibility of an organization to private : Forbid it
- When trying to update visibility of a project to private : Forbid it
- When trying to create private project : Forbid it
When browsing the Permissions page of a project on a free plan, the option to turn a project to Private is disabled (radio button greyed-out). Below, there's an incentive to subscribe to a paid plan to activate this option.
When browsing the Projects Management page of an organization, and clicking on the edit icon next to "Default visibility of new projects" in the top right corner of the screen, this popup appears. The private option is disabled, and the user sees an incentive to activate it by upgrading to a paid plan.
When clicking on the button "Create Project" from the Projects Management page of an organization, this popup appears. The private option is disabled, and the user sees an incentive to activate it by upgrading to a paid plan.