Skip to main content
Control database access using DCL (Data Control Language) operations.

Grant Permissions

Read Permission

Write Permission

Delete Permission

All Permissions

Multiple Permissions

All Tables

Revoke Permissions

Single Permission

All Permissions

User Management

Create User

Alter User Password

Drop User

Role Management

Create Role

Assign Role to User

Revoke Role from User

Drop Role

Permission Types

You can also use native permission names (SELECT, INSERT, UPDATE) directly.

Complete Examples

Read-Only Analyst

Application Service Account

Admin User

Database Support

MongoDB Note

MongoDB uses role-based access control with built-in roles. OmniQL translates to MongoDB admin commands.

Limitations

Not currently supported:
  • Column-level permissions
  • Schema/database-level permissions
  • Sequence permissions
  • Role options (SUPERUSER, LOGIN, etc.)
  • Multiple tables in single GRANT

Next Steps

Transactions

Group operations safely

PostgreSQL

PostgreSQL specifics