forked from Netflix/conductor
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR includes: - RBAC integretion in 'rest' module - updated tests - added dependencies in build.gradle files - V3 schema in archive module for storing roles and groups from json_data into rbac_labels - javadoc Added new package 'rbac' to rest sub-module with sub-package 'annotations' for spring AOP. Added new classes: RbacHttpFilter First step of validation. Handles: - no validation healthcheck - stores all groups and roles values from request - creates object of type UserType for further processing - prevents triggering endpoints when request is not validated RbacAccessAspect Aspect class for handling annotated rest controller methods. Handles: - triggering methods only accessible by admin - triggering BulkResponse methods and modifing returned object - triggering methods that require certain parameters in path or in body of request - when user has not access, 403 is thrown RbacDbHandler Validation of certain parameteres before reaching endpoints and returning of certain object (omitting direct endpoints). Handles: - checks if certain parameters are present in db and if user has access due to provided values in groups and roles of header - returns all Task/Workflow definitions and SeachResult object with param Workflow/WorkflowSummary directly RbacProperties Properties class to return admin roles and groups specified in properties file. UserType POJO for creating user object. TYPE: Improvement JIRA: DEP-686 Signed-off-by: jmasar <[email protected]>
- Loading branch information
jmasar
committed
Jun 3, 2024
1 parent
03d69fe
commit 4dcaf94
Showing
39 changed files
with
1,117 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Submodule conductor-community
updated
12 files
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.