abs-auth-rbac-core 0.3.7__tar.gz → 0.3.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of abs-auth-rbac-core might be problematic. Click here for more details.
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/PKG-INFO +1 -1
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/rbac/service.py +2 -2
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/pyproject.toml +1 -1
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/README.md +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/auth/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/auth/auth_functions.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/auth/jwt_functions.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/auth/middleware.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/base_model.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/gov_casbin_rule.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/permissions.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/rbac_model.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/role_permission.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/roles.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/seeder/permission_seeder.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/user.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/user_permission.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/user_role.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/rbac/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/rbac/decorator.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/rbac/policy.conf +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/repository/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/repository/permission_repository.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/repository/role_repository.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/schema/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/schema/permission.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/service/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/service/permission_service.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/service/role_service.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/util/__init__.py +0 -0
- {abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/util/permission_constants.py +0 -0
|
@@ -65,7 +65,7 @@ class RBACService:
|
|
|
65
65
|
self.enforcer = casbin.Enforcer(
|
|
66
66
|
policy_path, adapter
|
|
67
67
|
)
|
|
68
|
-
self.enforcer.enable_auto_save(
|
|
68
|
+
self.enforcer.enable_auto_save(True)
|
|
69
69
|
# Load policies
|
|
70
70
|
self.enforcer.load_policy()
|
|
71
71
|
|
|
@@ -479,7 +479,7 @@ class RBACService:
|
|
|
479
479
|
self.enforcer.add_policies(policies)
|
|
480
480
|
|
|
481
481
|
# Save all Casbin changes
|
|
482
|
-
self.enforcer.save_policy()
|
|
482
|
+
# self.enforcer.save_policy()
|
|
483
483
|
|
|
484
484
|
session.commit()
|
|
485
485
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/auth/auth_functions.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/auth/jwt_functions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/base_model.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/gov_casbin_rule.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/permissions.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/rbac_model.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/role_permission.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/user_permission.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/models/user_role.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/repository/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/schema/permission.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/service/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.3.7 → abs_auth_rbac_core-0.3.9}/abs_auth_rbac_core/service/role_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|