Metadata-Version: 2.1
Name: m-abac
Version: 1.0.1
Summary: Thư viện xử lý kiểm tra quyền theo logic ABAC (Attribute-based access control)
Home-page: https://github.com/mobiovn
Author: MOBIO
Author-email: contact@mobio.vn
License: MIT
Project-URL: Source, https://github.com/mobiovn
Description: ### ABAC Engine
        Thư viện xử lý kiểm tra quyền theo logic ABAC (Attribute-based access control).
        
        
        ### Cài đặt:
        ```bash
         $ pip3 install m-abac
         ```
        
        ### Sử dụng:
        
        ##### Kiểm tra user có quyền thao tác hay không:
           ```python
            from mobio.libs.abac import PolicyDecisionPoint
            resource = "deal"
            # action = "UpdateFromSale"
            action = "ListFromSale"
        
            pdb = PolicyDecisionPoint(resource=resource, action=action)
            result = pdb.is_allowed()
            if not result.get_allow_access():
                # trả về lỗi không có quyền truy cập 
           ```
        #### Log - 1.0.0
            - release sdk
            
Keywords: mobio,mobio-engine,m-abac
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3
Description-Content-Type: text/markdown
