apache / apache/iotdb

如果只想允许用户删除数据,不能让他删除数据结构 即timesries,似乎做不到

Open
#3,410 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

我如果只想允许用户删除数据,不能让他删除数据结构 即timesries,似乎做不到,
赋于用户delete timesries权限后,什么结构和数据都能删除。这不合理

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior: grant a user delete permission for time-series data and compare deletion of data with deletion of the time-series structure. Trace the Java authorization path that handles delete privileges. Done means users can delete data without being able to delete the corresponding schema, with tests covering both permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.