Files
documentdb/pg_helio_core/include/utils
Deepak Pemmaraju 19abafcc95 Merged PR 1511520: adding a limit of 10 users for dataplane user crud api
### Does this PR have any customer impact?

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

### Are you introducing any new config? If yes, do you have tests with and without them being set?

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description

adding a limit of 10 users for dataplane user crud api

----
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request enforces a limit of 10 users for the Dataplane user CRUD API.
- `oss/pg_helio_api/src/commands/users.c`: Added logic to check and enforce the maximum user limit before creating a new user.
- `oss/pg_helio_api/src/helio_api_init.c`: Introduced a new configuration variable `helio_api.maxUserLimit` to set the maximum number of users allowed.
- `pgmongo/src/test/regress/sql/user_crud_commands.sql` and `pgmongo/src/test/regress/expected/user_crud_commands.out`: Added tests to verify the user limit enforcement and behavior when the limit is exceeded.

Related work items: #3175767
2024-12-16 11:37:44 +08:00
..
2024-01-12 19:10:20 +00:00
2024-01-12 19:10:20 +00:00