Managed model instances #715

Closed
opened 2022-08-03 20:16:11 +02:00 by nik · 9 comments
Owner

We should introduce "managed model isntances", i.e. objects that are automatically created and thus managed by some app. Examples include:

  • Notifications (notifications actually already support this)
  • Group types (thinking of Chronos making a "course" group type that it uses for course groups); by doing so, it can reliably find groups that are managed in the timetable, and link semantics to it
  • Objects in Chronos that are managed by an Untis import

Apps can then decide what to do with managed instances, with options including hiding managed objects from the UI, or other behaviour to make sure managed objects do not fill up the user-visible interfaces.

We should introduce "managed model isntances", i.e. objects that are automatically created and thus managed by some app. Examples include: * Notifications (notifications actually already support this) * Group types (thinking of Chronos making a "course" group type that it uses for course groups); by doing so, it can reliably find groups that are managed in the timetable, and link semantics to it * Objects in Chronos that are managed by an Untis import Apps can then decide what to do with managed instances, with options including hiding managed objects from the UI, or other behaviour to make sure managed objects do not fill up the user-visible interfaces.
Author
Owner

@hansegucker Please provide feedback

@hansegucker Please provide feedback
Author
Owner

@hansegucker PLease still do that

@hansegucker PLease still do that
Author
Owner

mentioned in issue #733

mentioned in issue #733
Member

assigned to @leuckeju

assigned to @leuckeju
Member
  • add field to model managed_by=APP_LABEL
  • exclude from default queryset using manager
  • app can still query it
  • → success
- add field to model `managed_by=APP_LABEL` - exclude from default queryset using manager - app can still query it - → success
Author
Owner

created branch 715-managed-model-instances to address this issue

created branch [`715-managed-model-instances`](/AlekSIS/official/AlekSIS-Core/-/compare/master...715-managed-model-instances) to address this issue
Author
Owner

mentioned in merge request !2918

mentioned in merge request !2918
Author
Owner

mentioned in merge request !2853

mentioned in merge request !2853
nik closed this issue 2023-07-06 23:39:21 +02:00
Author
Owner

mentioned in commit 7058e64ccc

mentioned in commit 7058e64cccdec9f16aded241157225b1530f3896
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#715
No description provided.