Page MenuHomekolab.org

Tenant settings
ClosedPublic

Authored by machniak on Jul 13 2021, 11:04 AM.

Details

Reviewers
vanmeeuwen
Group Reviewers
Restricted Project
Commits
rKb9b80fe18cff: Tenant settings
Summary

Add per-tenant settings and support running jobs for another tenant. Also removed caching from the SettingsTrait.

Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

machniak requested review of this revision.Jul 13 2021, 11:04 AM
machniak created this revision.
machniak updated this revision to Diff 7537.Jul 15 2021, 10:07 AM
  • Add getSettings() method, and use it as a optimization tool
machniak updated this revision to Diff 7576.Jul 28 2021, 2:11 PM
  • Fix withObjectTenantContext macro
    • It's result should not depend on the current user role
    • It was throwing exceptions when working with an unauth user (e.g. /meet endpoints)
    • Fixed some tests
vanmeeuwen accepted this revision.Jul 30 2021, 7:46 AM
This revision is now accepted and ready to land.Jul 30 2021, 7:46 AM
This revision was automatically updated to reflect the committed changes.