[DISCUSSION] Should we implement access control hooks in DataFusion?
- Lingua principale
- Rust
- Stelle
- 9.3k
- Fork
- 2.4k
- Merge medio
- 3g 11h
- PR unite (30g)
- 362
Descrizione
### Is your feature request related to a problem or challenge?
@comphead brings up an excellent point here: https://github.com/apache/arrow-datafusion/pull/7441#issuecomment-1698341294
Basically many database systems allow some sort of access control such as allowing some users the ability to read data but restricting writing.
There are many different granularities of such controls (like restricted to schemas, tables, read schema vs read data, etc) that a system might want to implement.
### Describe the solution you'd like
If anyone needs this today, they can build it on top of `LogicalPlan` (by checking `LogicalPlan` contents and implementing whatever controls they want).
It might be interesting to add some sort of built in (extensible) mechanism into DataFusion to make this process easier.
### Describe alternatives you've considered
I think we should wait for someone with a real usecase / implementation on top of `LogicalPlan` that we can upstream once we work out the details rather than designing this in advance but I wanted to file the ticket to track the idea
### Additional context
_No response_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo il commento collegato di PR #7441 e l’implementazione di LogicalPlan per comprendere il caso d’uso proposto per il controllo degli accessi. Per considerarlo completato servirebbero un ambito concreto e concordato e un meccanismo estensibile, ma al momento questa discussione rimanda la progettazione a quando sarà disponibile un’implementazione reale o un caso d’uso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust, sql
- Ambito
- databases, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100