Skip to content

Add integration test for regularUser trying to make Org and User requests with registry=true#1424

Merged
david-rocca merged 7 commits into
devfrom
emathew/regular-user-registry-tests
Jun 26, 2025
Merged

Add integration test for regularUser trying to make Org and User requests with registry=true#1424
david-rocca merged 7 commits into
devfrom
emathew/regular-user-registry-tests

Conversation

@emathew5

Copy link
Copy Markdown
Collaborator

Closes Issue 1416

Summary

Added tests to check that regular users have some limited permissions when the registry flag is set to true

Important Changes

cve-services/test/integration-tests/org/regularUsersTestRegistryFlag.js

  • Created file from regular_users.py

Testing

Steps to manually test updated functionality, if possible

  1. Ensure mongo is up and running, with replication on
  2. Run npm run test:integration, while targeting localhost mongo

@emathew5 emathew5 requested review from david-rocca and removed request for david-rocca June 26, 2025 16:33
@emathew5 emathew5 marked this pull request as draft June 26, 2025 16:34
@emathew5 emathew5 marked this pull request as ready for review June 26, 2025 16:58

@david-rocca david-rocca left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM all tests pass locally

@david-rocca david-rocca merged commit 2e354ff into dev Jun 26, 2025
9 checks passed
@emathew5 emathew5 deleted the emathew/regular-user-registry-tests branch June 30, 2025 14:52
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.

2 participants