Permission query method and device, electronic equipment and storage medium

The invention provides a permission query method and device, electronic equipment and a storage medium. The permission query method comprises the steps that a relational database is confirmed and stored; wherein the relational database at least comprises a subject and role contrast relationship, a s...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: XIE HONGBAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a permission query method and device, electronic equipment and a storage medium. The permission query method comprises the steps that a relational database is confirmed and stored; wherein the relational database at least comprises a subject and role contrast relationship, a subject and attribute contrast relationship, an attribute and role contrast relationship and a role and object contrast relationship; in response to starting of the authorization service, converting the relational database into a graph data structure; in response to receiving a permission query request of a first subject, confirming an object corresponding to the first subject based on a graph data structure; wherein the attribute and role contrast relationship comprises a contrast relationship between any role and all attributes owning the role; the object corresponding to the first subject is the permission corresponding to the first subject, so that different contrast relationships are stored in the relational da