1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 11:24:04 +00:00

Remove and recategorize todos

This commit is contained in:
Samuel Štancl 2025-08-31 16:57:52 +02:00
parent 24797278cd
commit 33e4a8e4e2
5 changed files with 8 additions and 8 deletions

View file

@ -30,7 +30,7 @@ class PermissionControlledPostgreSQLSchemaManager extends PostgreSQLSchemaManage
$tables = $this->connection()->select("SELECT table_name FROM information_schema.tables WHERE table_schema = '{$schema}' AND table_type = 'BASE TABLE'");
// Grant permissions to any existing tables. This is used with RLS
// todo@samuel refactor this along with the todo in TenantDatabaseManager
// todo@dbRefactor refactor this along with the todo in TenantDatabaseManager
// and move the grantPermissions() call inside the condition in `ManagesPostgresUsers::createUser()`
// but maybe moving it inside $createUser is wrong because some central user may migrate new tables
// while the RLS user should STILL get access to those tables