Skip to content

Dev to mian sync#2600

Merged
prakashchoudhary07 merged 2 commits into
mainfrom
develop
Jun 22, 2026
Merged

Dev to mian sync#2600
prakashchoudhary07 merged 2 commits into
mainfrom
develop

Conversation

@prakashchoudhary07

@prakashchoudhary07 prakashchoudhary07 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Date: 22-Jun-26

Developer Name: @prakashchoudhary07


Issue Ticket Number

Tech Doc Link

Business Doc Link

Description

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Test Coverage

Screenshot 1

Additional Notes

iamitprakash and others added 2 commits June 21, 2026 21:23
* feat: restrict routes to super user

* chore: add unauthorized access tests
@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: eaa3d184-5a8d-450d-b5e0-2abab530fd7d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment thread routes/userStatus.js
router.get("/", validateGetQueryParams, getUserStatusControllers);
// TODO: Have a discussion, if this 'users/status' needs to be open or protected.
// For now making it protected and super_user only to sort the high firestore read issues, for usersStatus collection
router.get("/", authenticate, authorizeRoles([SUPERUSER]), validateGetQueryParams, getUserStatusControllers);
Comment thread routes/users.js
// For now making it protected and super_user only to sort the high firestore read issues, for usersStatus collection
router.get(
"/search",
authenticate,
@prakashchoudhary07

prakashchoudhary07 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Staging Proof

image image

@prakashchoudhary07 prakashchoudhary07 merged commit 7134215 into main Jun 22, 2026
4 of 5 checks passed
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.

3 participants