Skip to content

feat(ev): WPB-22900-Entity value policies - #925

Closed
osalama7 wants to merge 1 commit into
v5-devfrom
feat/entity-value-policies
Closed

feat(ev): WPB-22900-Entity value policies#925
osalama7 wants to merge 1 commit into
v5-devfrom
feat/entity-value-policies

Conversation

@osalama7

@osalama7 osalama7 commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Changes

  • adding policy migrations for Entities and Values models
  • refactor Dao initialization for Entities and Values
  • use Dao resolution with name in grpc handlers
  • Apply dao resolution changes in unit tests
  • Following up with more pull requests to add and resolve new policies for Entities and values

Migration generates tables:

  • idm_usr_entity_values_policies
  • idm_usr_entity_policies

Ticket: WPB-22900

@osalama7
osalama7 marked this pull request as ready for review May 4, 2026 07:12
@osalama7 osalama7 changed the title Feat/entity value policies feat(ev): WPB-22900-Entity value policies May 4, 2026
@osalama7
osalama7 requested a review from ghecquet July 8, 2026 12:38
@osalama7
osalama7 marked this pull request as draft July 16, 2026 16:45
@osalama7
osalama7 marked this pull request as ready for review August 25, 2026 15:02
@osalama7
osalama7 force-pushed the feat/entity-value-policies branch from 9e78caa to 72cde95 Compare August 25, 2026 15:09
- Reafactor
- Initial commit

refactor(usermeta): Refactor for idm user meta storage driver resolution and policy spec

Co-authored-by: Copilot <copilot@github.com>

refactor(tests): fixing dao resolution from main meta dao in unit test

Co-authored-by: Copilot <copilot@github.com>

clean(comment): remove debugging

clean(comment): remove unused print

fix(migration): restore removed comp index gorm spec

chore(clean): Clean  up comments

Co-authored-by: Copilot <copilot@github.com>

refactor(meta): Refactor Entity value handling from Rest layer

- feat: Implement new handlers for Entity and EntityValue handling
- refactor: Resolve EV vocabulary in the grpc layer rather than the implementation in client.go
- feat: Use the new endpoints for EV crud client side to create entities and values client side instead of implicit parsing from JsonDefinition
- chore: Update generated protos and regenerate swagger for js sdk

feat(meta): Use default policies for new Meta EV endpoints

refactor: optimize entity-value link resolution with separated PUT/DELETE paths

- Add Detach() method to EvResolver for explicit DELETE handling
- Refactor Resolve() to batch fetch and detach removed links in one pass
- Extract normalizeLabels and resolveEntityValues helpers for clarity
- Move resolver instantiation outside request loop
- Imrpove inline docs

refactor(namespace): Add entity UUID for Namespaces

- Removes additional entitiy values policy migration
- Improves/fixes user meta service migration runs
- other entity value focused minor improvements

feat(entity-policies): Add GET entities acl for standard profile
- add 5.0.3 migration for standard on GET `rest:user-meta/entity`
- use IsContextEditable helper to set IsContextEditable for entities
- Remove default entities for default tags namespace

fix(ev): Fix merge conflict commits
@osalama7
osalama7 force-pushed the feat/entity-value-policies branch from ebd0171 to bc60904 Compare August 31, 2026 09:33
@osalama7 osalama7 closed this Aug 31, 2026
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.

1 participant