Skip to content

chore: add sidebar and route level permissions for recon engine#4713

Open
Muditbhatia12 wants to merge 6 commits intomainfrom
recon-sidebar-permissions
Open

chore: add sidebar and route level permissions for recon engine#4713
Muditbhatia12 wants to merge 6 commits intomainfrom
recon-sidebar-permissions

Conversation

@Muditbhatia12
Copy link
Copy Markdown
Contributor

@Muditbhatia12 Muditbhatia12 commented Apr 14, 2026

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

recon data enginner (no exceptions view)
image

recon Merchant operator (no reocn sources view)
image

Motivation and Context

How did you test it?

Where to test it?

  • INTEG
  • SANDBOX
  • PROD

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

@Muditbhatia12 Muditbhatia12 requested review from a team as code owners April 14, 2026 18:20
@semanticdiff-com
Copy link
Copy Markdown

Review changes with  SemanticDiff

@Muditbhatia12 Muditbhatia12 changed the title Commits on Apr 14, 2026 chore: add recon permission group mappings “MuditBhatia12” committed 11 minutes ago chore: add sidebar level permissions for recon engine chore: add sidebar level permissions for recon engine Apr 14, 2026
@github-actions github-actions bot added S-conventions-not-followed Status: This PR does not follow contributing guidelines and removed S-conventions-not-followed Status: This PR does not follow contributing guidelines labels Apr 14, 2026
@Muditbhatia12 Muditbhatia12 self-assigned this Apr 15, 2026
@Muditbhatia12 Muditbhatia12 changed the title chore: add sidebar level permissions for recon engine chore: add sidebar and route level permissions for recon engine Apr 15, 2026
@Muditbhatia12
Copy link
Copy Markdown
Contributor Author

@control_center_review_bot pls review this pr

Copy link
Copy Markdown
Collaborator

@hs-control-center-bot hs-control-center-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: 🔄 Request Changes

⚠️ 1 warning · 💡 1 suggestion

The authorization implementation introduces inconsistencies between route-level group access checks and sidebar resource-level permissions. Specifically, Transformation and Transformed-Entries routes check ReconSourcesView while their sidebar links use distinct resource access types, which could lead to confusing UX where users see links they cannot access. Additionally, the Overview route lacks authorization gating unlike all other routes.

Comment thread src/ReconEngine/ReconEngineApp/ReconEngineApp.res
Comment thread src/ReconEngine/ReconEngineApp/ReconEngineApp.res
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.

4 participants