Skip to content

Commit 9ee1224

Browse files
committed
Outline: Add information about user management and privilege assignment
1 parent 90dbe42 commit 9ee1224

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@
1414
- Outline: Renamed `CRATEDB_CONTEXT_URL` to `ABOUT_CONTEXT_URL`
1515
- Outline: Fixed `llms_txt` currently does not accept newlines in description fields
1616
- Outline: Significantly update `cratedb-outline.yaml`
17+
<<<<<<< HEAD
1718
- Bundle: Started accepting `--url`/`ABOUT_OUTLINE_URL` option to specify
1819
alternative input outline file
1920
- Bundle: Improved handling of `--format` option
2021
- Query: Permitted loading context file from local filesystem
2122
per `ABOUT_CONTEXT_URL`
2223
- Query: Introduced caching for context payloads on HTTP remote URLs
24+
- Outline: Added information about user and role management, privilege assignment,
25+
and multi-tenancy implementation suggestions
2326

2427
## v0.0.3 - 2025-05-10
2528
- Outline: Refactored the source of truth for the documentation outline

src/cratedb_about/outline/cratedb-outline.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,34 @@ data:
300300
parents: [ reference ]
301301
tags: [ sql, reflection ]
302302

303+
# Admin: User management, roles, privileges.
304+
- title: "CrateDB reference: Users and roles management"
305+
link: https://cratedb.com/docs/crate/reference/en/latest/_sources/admin/user-management.rst.txt
306+
description: |
307+
Users and roles account information is stored in the cluster metadata of CrateDB and supports
308+
standard SQL statements to create, alter and drop users and roles.
309+
parents: [reference]
310+
source: docs
311+
- title: "CrateDB reference: Privileges"
312+
link: https://cratedb.com/docs/crate/reference/en/latest/_sources/admin/privileges.rst.txt
313+
description: |
314+
To execute statements, a user needs to have the required privileges.
315+
CrateDB has a built-in superuser account (`crate`) which has the privilege to do anything.
316+
The privileges of other users and roles have to be managed using the `GRANT`, `DENY` or `REVOKE` statements.
317+
The privileges that can be granted, denied or revoked are: `DQL`, `DML`, `DDL`, `AL`.
318+
The privileges can be granted on different classes: `CLUSTER`, `SCHEMA`, `TABLE`, `VIEW`.
319+
parents: [reference]
320+
source: docs
321+
- title: "CrateDB tutorial: Multi-tenancy with CrateDB"
322+
link: https://community.cratedb.com/raw/1153/1
323+
description: |
324+
Multi-tenancy is an architecture in which different tenants share a single software instance.
325+
CrateDB does not support the creation of multiple databases and catalogs as some other solutions
326+
(e.g., PostgreSQL). However, there are several ways to implement multi-tenancy in CrateDB, and,
327+
as is often the case, which one works the best depends on a variety of options and trade-offs.
328+
The article illustrates two methods for sharing a single CrateDB instance between multiple tenants.
329+
source: tutorials
330+
303331
# SQL
304332
- title: "CrateDB SQL reference: Syntax"
305333
description: You can use Structured Query Language (SQL) to query your data.

0 commit comments

Comments
 (0)