Sonatype Expands its Executive Team Following an Outstanding 2018  Press Release

Create Content Selectors, Privileges, Roles Programmatically

A groovy script to create Content Selectors, privileges, and roles programmatically via the Scripting API.


Version latest was released May 31, 2017

Download from GitHub

Basic usage

This groovy script creates Content Selectors, Privileges and Roles programmatically.

You can read more about working with the Scripting API here.

As well there are many more examples here.

Nicholas Blair

Company Sonatype