Authority control method, system and equipment under front-end code monorepo warehouse management and medium

By integrating encrypted permission files and rule matching into the Git hook mechanism, the problem of full directory write permissions in the Monorepo architecture is solved, achieving fine-grained permission control, which is suitable for code collaboration scenarios with high security requirements.

CN120994232APending Publication Date: 2025-11-21CHINA COMM SERVICE APPL & SOLUTION TECH CO LTD
0 Cites 1 Cited by

Patent Information

Application Number
CN202510834418.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-20
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

In the Monorepo architecture, developers have full directory write permissions, which leads to security risks and a lack of access control. Existing technologies cannot achieve fine-grained file-level management, and relying on manual review is inefficient and prone to omissions.

Method used

By integrating the hooks mechanism of the Git distributed version control system, and combining encrypted permission files with fine-grained rule matching, a signature file is generated and verified to achieve file-level permission control.

Benefits of technology

It implements multi-dimensional permission rules at the file, directory, and extension levels, supports fine-grained control, is compatible with any Git hosting platform, ensures the security of permission files and the unforgeability of rules, and is suitable for ultra-large-scale Monorepo repositories.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the technical field of software version control and code security management, in particular to an authority control method, system and device under front-end code monorepo warehouse management and a medium. The method supports file-level, directory-level and extended-name-level multi-dimensional authority rules, fills the blank of Git native capability, and realizes fine-grained control; the method is realized completely based on a Git hook, does not need additional services or middleware, is compatible with any Git hosting platform, and realizes zero external dependence; permission file modification is ensured to be authorized by an administrator through digital signature, so that a developer is prevented from relaying permission rules privately; the signature verification process is completed at the local hook, an external certificate server does not need to be connected, the security and the offline availability are both considered, and the tamper-resistant capability is enhanced.
Need to check novelty before this filing date? Find Prior Art