---
layout: default
title: role
parent: Stardog Admin CLI Reference
has_children: true
has_toc: false
description: This page contains the commands available in the stardog-admin role command group.
---

# `role`

Stardog’s security model is based on standard role based access control: users have permissions over resources during sessions; permissions can be grouped into roles; and roles can be assigned to users. Read more about [permissions](../../operating-stardog/security/security-model).


Select any of the commands to view their manual page.

| Command | Description |
|---------|-------------|
| [`role add`](./role-add) | Adds a new role. |
| [`role grant`](./role-grant) | Grants a permission to a role. |
| [`role list`](./role-list) | Lists all roles. |
| [`role permission`](./role-permission) | Lists the permissions associated to a role. |
| [`role remove`](./role-remove) | Removes an existing user role. |
| [`role revoke`](./role-revoke) | Revokes a permission associated to a role. |

