mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:14:04 +00:00
Remove and recategorize todos
This commit is contained in:
parent
24797278cd
commit
33e4a8e4e2
5 changed files with 8 additions and 8 deletions
|
|
@ -222,7 +222,7 @@ class DatabaseConfig
|
|||
}
|
||||
|
||||
/**
|
||||
* todo@name come up with a better name
|
||||
* todo@dbRefactor come up with a better name
|
||||
* Get database manager class from the given connection config's driver.
|
||||
*
|
||||
* @throws DatabaseManagerNotRegisteredException
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue