T421559
Details
Details
- Reviewers
mollekopf - Group Reviewers
Restricted Project - Commits
- rK6aa312a4a5db: Tenant scope for CLI commands
./phpunit
Diff Detail
Diff Detail
- Repository
- rK kolab
- Branch
- dev/cli-tenant2
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 34324 Build 13714: arc lint + arc unit
Event Timeline
Comment Actions
I'm wondering whether there isn't a more elegant solution to replacing all queries with a custom function that everything has to go through, so that e.g. a \App\Wallet::find or \App\Wallet::all would automatically take the tentant into account.
That said, this seems otherwise reasonable, so go ahead with it.
Please not I'm not fully on top of the dev/reseller branch, so I just looked it over for obvious mistakes.