Skip to content

feat(PLATECO-111): add allowed app names by regular expressions#17

Closed
serhiidonii wants to merge 1 commit into
developfrom
feat/PLATECO-111-add-regex-app-names
Closed

feat(PLATECO-111): add allowed app names by regular expressions#17
serhiidonii wants to merge 1 commit into
developfrom
feat/PLATECO-111-add-regex-app-names

Conversation

@serhiidonii
Copy link
Copy Markdown
Contributor

No description provided.

@serhiidonii serhiidonii force-pushed the feat/PLATECO-111-add-regex-app-names branch from 33affbb to 5836d22 Compare September 30, 2025 15:41
@serhiidonii serhiidonii force-pushed the feat/PLATECO-111-add-regex-app-names branch from 5836d22 to 0ee1232 Compare September 30, 2025 15:49
@serhiidonii serhiidonii requested a review from a team September 30, 2025 15:51
Copy link
Copy Markdown
Contributor

@alekseytupichenkov alekseytupichenkov left a comment

Choose a reason for hiding this comment

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

I don't understand why we need this?
Let's imagine the situation:

  • the pr-123 service tries to call the staging service, but here
    • the pr-123 service will already have default_schema = pr-123
    • and this bundle is enabled for staging
    • even if staging tries to call the pr-456 service, everything will still work
    • the pr-123 service should never receive requests with X-Tenant=pr-456

Moreover, I think there are security problems here in that if you accidentally call the pr-123 service with X-Tenant=staging, you can end up in the wrong tenant

@serhiidonii serhiidonii closed this Oct 2, 2025
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