Repository navigation
enterprise/lifecycle: remove one review per object limitation - #21046
Conversation
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21046 +/- ##
==========================================
+ Coverage 93.01% 93.15% +0.13%
==========================================
Files 1017 1017
Lines 58397 58449 +52
Branches 331 331
==========================================
+ Hits 54319 54448 +129
+ Misses 4078 4001 -77
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
86079b9 to
971c429
Compare
971c429 to
2263b2b
Compare
e3ab8db to
cc5c126
Compare
kensternberg-authentik
left a comment
There was a problem hiding this comment.
I have some nitpicking (mostly about the Python), but overall this is solid. My biggest concern is the slot="header" no-op. It can stay for now, since we're time-compressed, but I'd like to schedule removing it since it will complicate future maintenance.
…t (and thus, multiple concurrent reviews)
…e rules per object, add tests, update documentation
…tions on Review tab for better visual separation
…ltiple lifecycle rules for one object type
…iews with user_is_reviewer annotation to prevent duplicate rows
…r use in a notification to prevent texts like "Review is due for Group Group X"
…iew banner padding
…h to using per-rule schedules
…nd switch to using per-rule schedules" This reverts commit 8a06001.
…age and attach the tasks to the schedule
… the schedule when launched from apply_lifecycle_rules
Co-authored-by: Dominic R <[email protected]> Signed-off-by: Alexander Tereshkin <[email protected]>
9ff4ee2 to
793ca36
Compare
Details
This lifts the requirement that only one Lifecycle Rule can apply to a single object, and, therefore, allows multiple concurrent reviews per obejct.
Additionally, this removes task list from the lifecycle rule list page and attaches the tasks to the schedule instead of rule.
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)If applicable
make docs)