Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20350

Allow users with CREATE permission on Project level to create Deployments

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Since the introduction of Project-level permissions in Bamboo 6.2 it is possible to limit user to create Plans in selected project by disabling global CREATE permission and assigning it on the Project level. However when such user needs to work with Deployments global permission is still needed.

      Proposed solution:

      Feature flag controlled by system property will enable the new behavior in Bamboo:

      • if a user is allowed to create Plan on any level (global or project) they will be also allowed to create Deployments

            [BAM-20350] Allow users with CREATE permission on Project level to create Deployments

            Marcin Gardias added a comment - - edited

            Feature can be enabled by passing system property:

            -Datlassian.darkfeature.bamboo.deployment.create.granted.by.project=true
            

            or through REST API request, e.g.:

            curl -X PUT <server_url>/rest/admin/latest/darkFeatures/bamboo.deployment.create.granted.by.project -u<username:password> -H "Content-Type: application/json" -d' {"key":"bamboo.deployment.create.granted.by.project","enabled":true}
            

            Marcin Gardias added a comment - - edited Feature can be enabled by passing system property: -Datlassian.darkfeature.bamboo.deployment.create.granted.by.project= true or through REST API request, e.g.: curl -X PUT <server_url>/ rest /admin/latest/darkFeatures/bamboo.deployment.create.granted.by.project -u<username:password> -H "Content-Type: application/json" -d' { "key" : "bamboo.deployment.create.granted.by.project" , "enabled" : true }

              mgardias Marcin Gardias
              kbrazulewicz Krystian Brazulewicz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: