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

QuickSQL additional VIEW configuration to accommodate Tenant_ID #74

Open
pallasinfotech opened this issue Nov 12, 2024 · 0 comments
Open

Comments

@pallasinfotech
Copy link

To create quickly secure views for multi-tenant applications, allow a switch line

Example:

view Knowledge_articles_v Knowledge_articles /where tenant_id = SYS_CONTEXT('APEX$SESSION', 'APP_TENANT_ID');

after "/where" the user can add his portion of where statement that can be utilized in the creation of a secure view.

Use Case
Multi-tenant applications require all tables to be accessed through secure views. Having where statement ready with the argument, will make the development of the script tremendously easier and accurate.

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

No branches or pull requests

1 participant