Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.6.1 #204

Merged
merged 11 commits into from
May 10, 2024
Merged

v0.6.1 #204

merged 11 commits into from
May 10, 2024

Conversation

elarroba
Copy link
Member

No description provided.

This commit introduces new gRPC OAuth2AuthenticationInterceptor in interceptors.py and CompanyModelService in company/servicer.py. The former one is responsible for OAuth2 authentication handling while the latter one provides a service for interacting with CompanyModel objects. Additionally, this update includes changes in the version of certain dependencies in Pipfile.lock. Several files were also renamed for better organization and readability.
The project version is updated to 0.6.1. In addition, updates in authorization checks are made across different Django ledger classes with a focus on enhancing control flow and efficiency. This refactor removes direct superuser checks embedded in business logic with a dedicated `get_superuser_authorization` method, streamlines permission checks, and ensures that special case handling (such as ledger lock, unlock, post and unpost) upholds the principle of early return for easier code maintenance.
…xIn class

Renamed the 'io_digest' module to 'io_context' for better clarity and improved the DigestContextMixIn class. The 'IO_DIGEST' and 'IO_DIGEST_EQUITY' attributes have been replaced with 'IO_DIGEST_UNBOUNDED' and 'IO_DIGEST_BOUNDED'. Correspondingly, new context names for these attributes have been created. Also added two properties 'from_datetime' and 'to_datetime' to the class 'IODigestContextManager' in the 'io_context' module. The imports have been updated to reflect the module name change.
@elarroba elarroba self-assigned this May 10, 2024
The project version is updated to 0.6.1. In addition, updates in authorization checks are made across different Django ledger classes with a focus on enhancing control flow and efficiency. This refactor removes direct superuser checks embedded in business logic with a dedicated `get_superuser_authorization` method, streamlines permission checks, and ensures that special case handling (such as ledger lock, unlock, post and unpost) upholds the principle of early return for easier code maintenance.
…xIn class

Renamed the 'io_digest' module to 'io_context' for better clarity and improved the DigestContextMixIn class. The 'IO_DIGEST' and 'IO_DIGEST_EQUITY' attributes have been replaced with 'IO_DIGEST_UNBOUNDED' and 'IO_DIGEST_BOUNDED'. Correspondingly, new context names for these attributes have been created. Also added two properties 'from_datetime' and 'to_datetime' to the class 'IODigestContextManager' in the 'io_context' module. The imports have been updated to reflect the module name change.
@elarroba
Copy link
Member Author

Fixed 403 Unauthorized Bug & Several Code Optimizations

@elarroba elarroba merged commit 7348491 into master May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant