Issue #1 new

User privileges should be detected

Tuukka Norri
created an issue

Whenever an entity is reverse-engineered from the PostgreSQL information schema, BaseTen should also detect the current users privileges for the entity: do we have SELECT/INSERT/UPDATE/DELETE privileges. This information should be used to make the database objects read-only where appropriate. A public API should exist for querying this information.

Comments (2)

  1. Tuukka Norri reporter

    The public API should be provided but the database should be queried in all cases to prevent inconsistencies; the transaction should fail if something unexpected happens.

  2. Log in to comment