Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiTenant application development improvement #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

MultiTenant application development improvement #7

wants to merge 2 commits into from

Conversation

padcom
Copy link

@padcom padcom commented Sep 11, 2011

Hi, I've been playing around with the multi-tenant-core plugin and found out that there could be one addition to it that'd make familiarizing one with the idea of multitenancy a lot easier: specifying tenant id as query string parameter.

The changes that I've made do exactly that. The value of "tid" query string parameter is returned as the current tenant id.

Granted this solution is not perfect and (for example) does not work with scaffolding but it is great for educational purposes (especially while doing live presentations).

…lver.

What it does is it takes the tenant id from query string parameter (tid by
default). This allows for easier testing in development environment.
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.

None yet

1 participant