SoftwareCentral · Package security groups

Package Security Group Example - Keep Test and Production packages separate on the same SCCM

You can use Package Security Groups to keep your test packages and production packages separated on the same SCCM server. Two groups, Test and Production, decide which packages each role sees.

Test group Production group Distribution Settings Security roles

1 Create the two groups

Create two Package Security Groups in the Package Security Groups interface: name the first one Test and the other one Production.

Click Add Package Security Group for each group, type the name, and save it.

The Modify Package Security Groups window with the Add Package Security Group button and a Quick-find box in the left panel. The list in the middle shows two groups, Production and Test, each with an Edit and a Delete link.
Earlier version of the Modify Package Security Groups window, still to recapture. The Add Package Security Group button and the Edit and Delete links are the labels used by the current code. The groups Production and Test are the example names used on this page.

2 Make Test the default

Open Settings › Distribution Settings, choose your site, and tick Test in the Package Security Groups list. Click Save.

The groups you tick here are the defaults for new packages. SoftwareCentral copies the ticked groups into each new package template and application template, so tick Test before you create the templates that you use to import packages for testing. You can tick more than one group.

The Distribution Settings window for the site P01 Contoso HQ. The distribution point SWC-SERVER01.CONTOSO.LOCAL is ticked with site code P01. In the Package Security Groups list, Production is not ticked and Test is ticked and highlighted, inside a red box. The Save button is at the bottom right.
Earlier version of Distribution Settings, still to recapture. The group Test is ticked under Package Security Groups (red box). The site, the distribution point and the distribution point group are masked example values.

3 Give each group to a role

Give the Test group to the security role of your testers, and the Production group to the role of your helpdesk.

A role sees only the package security groups that it has been given. Your testers then see the packages in Test and nothing else, and the helpdesk sees the packages in Production.

4 Import and test

When you import a new package or application, it is added to the Package Security Groups that its template holds. With Test ticked in the defaults, the new package goes into Test, and only the roles that have Test see it.

Test the package with your testers before you move it.

Older versions You can use Replace Package to update any older versions of the package you just imported and tested.

5 Move a tested package to Production

When the package has been tested, the tester assigns the package to the Production group and removes it from the Test group. The steps are in Assign Packages to Security Groups.

Now the package is available to the helpdesk in the production environment.

6 Best practice

  • Create the groups and set the default before you create templates. The ticked groups are copied into a template when the template is created. Changing the default later does not change the templates that already exist, so check the groups on a template before you import with it.
  • Give testers Test only, and the helpdesk Production only. A package then reaches production users only after a tester has moved it.
  • Move the package, do not copy it. When the test is finished, remove the package from Test as well as adding it to Production, so the testers do not keep testing a copy that the helpdesk already uses.
  • Use Replace Package for new versions. It updates the older version you tested, rather than leaving two versions side by side in the same group.