Skip to content

As an instruktør I want to mark a session private so it is excluded from the shared class history #139

@ChristopherRotnes

Description

@ChristopherRotnes

Summary

Sharing is opt-out by default (#136 decision). This issue adds a `visibility` flag on `sessions` so an instruktør can mark a specific session as private, removing it from the joint-class history view (issue #138) without deleting it.

Priority

Medium

Data model

alter table sessions add column visibility text not null default 'shared'
  check (visibility in ('shared', 'private'));

The default `'shared'` preserves existing behaviour for all current rows. A `'private'` row is excluded from cross-instruktør queries but remains fully visible to its owner.

UI spec (Carbon g100)

Acceptance criteria

Out of scope

  • Per-exercise privacy
  • Retroactive bulk opt-out

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions