Abac merged to main#580
Draft
deepakduggirala wants to merge 134 commits into
Draft
Conversation
…oups and access control
…policy management
…and enhance RBAC policy handling
…licyRegistry debug: add debug logging for Prisma record fetching in PrismaHydrate fix: ensure proper structure in authorization middleware for clarity and maintainability
…g ancestor and descendant retrieval.
- Added `collections.js` service for creating, updating, archiving, unarchiving, and deleting collections. - Implemented optimistic concurrency control for updating collection metadata. - Introduced dataset management within collections, allowing addition and removal of datasets. - Created utility functions for slug generation and uniqueness checks. - Added `grants.js` service for managing authorization grants, including creation, revocation, and batch processing. - Enhanced state machine functionality to support action-based transitions and guard conditions. - Introduced utility functions for set operations and object manipulation. - Added slug normalization and identifier suffix generation utilities.
…ontrols and attribute filtering
…ement and resource access controls
…uation - Implement tests for `initializePolicyContext` to ensure proper context initialization and idempotency. - Create tests for `createAuthorizationMiddlewareFunction` covering setup, middleware behavior, and edge cases. - Add tests for the `Policy` class, validating constructor parameters, evaluation logic, and composition methods (`or`, `and`, `not`). - Ensure error propagation and immutability of cloned policies are tested. - Mock necessary dependencies to isolate tests and control behavior.
…dling and attribute management
…g with pagination and metadata
…ices and remove ConflictError class
…ique access_type_id in requests
…sert grant access types
…TypesForUser function and updating access_types parameter
…anced authorization handling
… in collection and group services
… to email-preview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.