apache / apache/gravitino

[FEATURE] Add built-in user roles.

Open
#6,804 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 16h
Merged PRs (30d)
298

Description

### Describe the feature

Add basic built-in users, such as administrators, read-only users, and regular users.

### Motivation

In order to meet the customer's needs

### Describe the solution

| name | privilege |
| :---- | :---- |
| admin | ALL |
| regular | CreateCatalog |
| readonly | `UseCatalog,UseSchema,SelectTable`,`ConsumeTopic`,`ReadFileset`,`ReadModel` |

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the project's authorization and privilege definitions, then determine how built-in users are represented and assigned permissions. Done should include admin, regular, and readonly roles with the listed privilege mappings, plus coverage for their behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.