Docker EE administrators can create grants to control how users and organizations access resource sets.
A grant defines who has how much access to what resources. Each grant is a 1:1:1 mapping of subject, role, and resource set. For example, you can grant the “Prod Team” “Restricted Control” over services in the “/Production” collection.
A common workflow for creating grants has four steps:
With Kubernetes orchestration, a grant is made up of subject, role, and namespace.
This section assumes that you have created objects for the grant: subject, role, namespace.
To create a Kubernetes grant in UCP:
With Swarm orchestration, a grant is made up of subject, role, and collection.
This section assumes that you have created objects to grant: teams/users, roles (built-in or custom), and a collection.
To create a grant in UCP:
By default, all new users are placed in the
docker-datacenter
organization. To apply permissions to all Docker EE users, create a grant with thedocker-datacenter
org as a subject.