The invention discloses an authority
management system and method for multi-source authority aggregation and dynamic inheritance decoupling, and belongs to the technical field of
DevOps, the
system comprises an authority storage module for realizing user affiliation judgment of constant
time complexity through non-expansion storage and
bitmap indexing; the
reverse index module is used for asynchronously updating the authority in batches through a secondary hash
reverse index and a
message queue; the permission aggregation module is used for obtaining an aggregation permission
list through union set operation; the
source tracing module is used for obtaining directly added permissions through difference set operation; the inheriting and decoupling module is used for realizing dynamic inheriting and decoupling through an inheriting flag bit and a user-defined
mask; and the cache synchronization module realizes increment synchronization through three-layer version number and inheritance
chain propagation. According to the method, the problems of difficulty in
source tracing, low dynamic decoupling efficiency, poor batch change performance and poor
cache consistency are solved, and efficient, accurate and extensible multi-source authority management is realized.