trovesuite 1.0.34__tar.gz → 1.0.35__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.
- {trovesuite-1.0.34/src/trovesuite.egg-info → trovesuite-1.0.35}/PKG-INFO +1 -1
- {trovesuite-1.0.34 → trovesuite-1.0.35}/pyproject.toml +2 -2
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/auth/auth_service.py +8 -1
- {trovesuite-1.0.34 → trovesuite-1.0.35/src/trovesuite.egg-info}/PKG-INFO +1 -1
- {trovesuite-1.0.34 → trovesuite-1.0.35}/LICENSE +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/MANIFEST.in +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/README.md +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/requirements.txt +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/setup.cfg +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/setup.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/__init__.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/auth/__init__.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/auth/auth_base.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/auth/auth_controller.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/auth/auth_read_dto.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/auth/auth_write_dto.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/configs/__init__.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/configs/database.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/configs/logging.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/configs/settings.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/entities/__init__.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/entities/health.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/entities/sh_response.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/__init__.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_base.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_controller.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_read_dto.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_service.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_write_dto.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/storage/__init__.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/storage/storage_base.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/storage/storage_controller.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/storage/storage_read_dto.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/storage/storage_service.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/storage/storage_write_dto.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/utils/__init__.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/utils/helper.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/utils/templates.py +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite.egg-info/SOURCES.txt +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite.egg-info/dependency_links.txt +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite.egg-info/not-zip-safe +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite.egg-info/requires.txt +0 -0
- {trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trovesuite
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.35
|
|
4
4
|
Summary: TroveSuite services package providing authentication, authorization, notifications, Azure Storage, and other enterprise services for TroveSuite applications
|
|
5
5
|
Home-page: https://dev.azure.com/brightgclt/trovesuite/_git/packages
|
|
6
6
|
Author: Bright Debrah Owusu
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "trovesuite"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.35"
|
|
8
8
|
description = "TroveSuite services package providing authentication, authorization, notifications, Azure Storage, and other enterprise services for TroveSuite applications"
|
|
9
9
|
authors = ["brightgclt <brightgclt@gmail.com>"]
|
|
10
10
|
license = "MIT"
|
|
@@ -58,7 +58,7 @@ Documentation = "https://dev.azure.com/brightgclt/trovesuite/_git/packages"
|
|
|
58
58
|
|
|
59
59
|
[project]
|
|
60
60
|
name = "trovesuite"
|
|
61
|
-
version = "1.0.
|
|
61
|
+
version = "1.0.35"
|
|
62
62
|
description = "TroveSuite services package providing authentication, authorization, notifications, Azure Storage, and other enterprise services for TroveSuite applications"
|
|
63
63
|
readme = "README.md"
|
|
64
64
|
license = {text = "MIT"}
|
|
@@ -329,7 +329,14 @@ class AuthService:
|
|
|
329
329
|
logger.error(f"Error querying permissions for role {role_id}: {str(e)}", exc_info=True)
|
|
330
330
|
permissions = []
|
|
331
331
|
|
|
332
|
-
|
|
332
|
+
role_user_id = role.get("user_id") if hasattr(role, "get") else None
|
|
333
|
+
# Ensure user_id is always present (group roles can have user_id NULL)
|
|
334
|
+
role_dict = {
|
|
335
|
+
**role,
|
|
336
|
+
"user_id": role_user_id or user_id,
|
|
337
|
+
"tenant_id": tenant_id,
|
|
338
|
+
"permissions": [p['permission_id'] for p in permissions],
|
|
339
|
+
}
|
|
333
340
|
get_user_roles_with_tenant_and_permissions.append(role_dict)
|
|
334
341
|
|
|
335
342
|
roles_dto = Helper.map_to_dto(get_user_roles_with_tenant_and_permissions, AuthServiceReadDto)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trovesuite
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.35
|
|
4
4
|
Summary: TroveSuite services package providing authentication, authorization, notifications, Azure Storage, and other enterprise services for TroveSuite applications
|
|
5
5
|
Home-page: https://dev.azure.com/brightgclt/trovesuite/_git/packages
|
|
6
6
|
Author: Bright Debrah Owusu
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_controller.py
RENAMED
|
File without changes
|
{trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_read_dto.py
RENAMED
|
File without changes
|
|
File without changes
|
{trovesuite-1.0.34 → trovesuite-1.0.35}/src/trovesuite/notification/notification_write_dto.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|