Skip to content

Cascading Settings - Make POC Production Ready

Release notes

Problem to solve

In issue #291082 (closed) we implemented a POC for cascading settings from a group to all subgroups below it. This issue will track the work needed to make this feature production-ready. The first setting we will support is delayed project deletion.

Proposal

Complete hardening of the feature for GA release

See !51498 (closed) for backend POC. The code is not quite production ready.

  • Migrations were messy and need to be updated after !53916 (merged) is merged.
  • Needs tests.
  • Needs developer documentation on using lockable_attrs and the associated database migrations (lock column, can be null, etc).
  • Document CascadingNamespaceAttribute so the code is clear to future developers. Since it's a bit of meta-programming it can be difficult to understand at first.

Parent group

Screen_Shot_2021-03-26_at_1.10.44_PM

Child group

Screen_Shot_2021-03-30_at_9.48.33_AM

Edited by Daniel Mora