content/manuals/enterprise/security/roles-and-permissions/_index.md
{{< summary-bar feature_name="General admin" >}}
Roles control what users can do in your Docker organization. When you invite users or create teams, you assign them roles that determine their permissions for repositories, teams, and organization settings.
Docker provides two types of roles to meet different organizational needs:
Core roles are Docker's built-in roles with predefined permission sets:
Custom roles allow you to create tailored permission sets by selecting specific permissions from categories like user management, team management, billing, and Hub permissions. Use custom roles when Docker's core roles don't fit your needs.
Use core roles when:
Use custom roles when:
You can assign users and teams either a core role or a custom role, but not both. However, roles work in combination with team permissions:
This layered approach gives you flexibility to provide broad organizational access through roles and specific repository access through team memberships.
Choose the role type that best fits your organization's needs:
{{< grid >}}