GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Consent text field is completely absent when no specific Fachbereich is selected (zero departments, or 'Alle Fachbereiche') · Issue #914 · OpenResilienceInitiative/ORISO-Admin

Consent text field is completely absent when no specific Fachbereich is selected (zero departments, or 'Alle Fachbereiche') #914

New issue
Copy link
New issue
Copy link
Closed
Closed
Consent text field is completely absent when no specific Fachbereich is selected (zero departments, or 'Alle Fachbereiche')#914
Copy link
Assignees
Shirloinnikunjdecyb

Description

@Storypapst
Storypapst
opened on Sep 2, 2026
Issue body actions

User story

As a Beratungsstellen-Admin editing the Datenschutzerklärung, I want to see something explaining why I can't set a consent sentence when no single Fachbereich is selected — either because the agency has none yet, or because I'm on "Alle Fachbereiche" — instead of the consent field simply not being there.

This does not change when consent editing is available (still governed by #862's "Alle Fachbereiche is consent-free" decision) — only what the admin sees in its place.

Acceptance criteria

  • When consent editing isn't available for the current selection, a disabled-looking placeholder renders in the same spot the consent trigger normally occupies (today: nothing renders there at all).
  • Clicking the placeholder opens a dialog — never an error toast.
  • For the zero-Fachbereiche case specifically, the dialog shows the operator disclaimer below (draft copy, needs a final proofread pass — flagged low-confidence for Tigrinya specifically), translated into all 7 active content languages (de, en, fr, ru, tr, uk, ti).
  • No "create a Fachbereich" link needed — disclaimer text alone is the whole of the zero-department dialog.

Disclaimer copy (draft — de/en reviewed by the product owner, fr/ru/tr/uk machine-translated + refined, ti is a first-pass draft only and needs native-speaker review before shipping)

de: Für diese Beratungsstelle ist noch kein Fachbereich hinterlegt. Ohne Fachbereich kann keine zertifizierte Beratung im Sinne der Datenschutz- und Einwilligungsanforderungen angeboten werden — bis ein Fachbereich eingerichtet ist, sind hier gezeigte Inhalte als unverbindliche persönliche Auskunft zu verstehen, nicht als zertifizierte Beratungsleistung. Wir raten daher derzeit von einer Beratung über diese Beratungsstelle ab. Führen Sie den Betrieb dennoch fort, geschieht dies ausschließlich auf eigene Verantwortung und Gefahr.

en: No Fachbereich has been set up for this counselling centre yet. Without one, no certified counselling service can be offered under the data-protection and consent requirements — until a Fachbereich is configured, content shown here should be treated as informal personal information, not a certified counselling service. We therefore currently advise against providing counselling through this centre. If you continue to operate it regardless, you do so entirely at your own risk and responsibility.

fr: Aucun secteur (Fachbereich) n'a encore été configuré pour ce centre de conseil. Sans secteur, aucun conseil certifié ne peut être proposé conformément aux exigences en matière de protection des données et de consentement — tant qu'aucun secteur n'est configuré, le contenu affiché ici doit être considéré comme une information personnelle informelle, et non comme une prestation de conseil certifiée. Nous déconseillons donc actuellement de proposer des conseils via ce centre. Si vous poursuivez néanmoins son activité, vous le faites entièrement à vos propres risques et sous votre seule responsabilité.

ru: Для этого консультационного центра ещё не настроен ни один профиль (Fachbereich). Без профиля невозможно предоставлять сертифицированную консультацию в соответствии с требованиями защиты данных и согласия — пока профиль не настроен, отображаемое здесь содержание следует рассматривать как неофициальную личную информацию, а не как сертифицированную консультационную услугу. Поэтому в настоящее время мы не рекомендуем проводить консультации через этот центр. Если вы всё же продолжаете его работу, вы делаете это исключительно на свой страх и риск и под свою ответственность.

tr: Bu danışma merkezi için henüz bir birim (Fachbereich) tanımlanmamıştır. Birim olmadan, veri koruma ve onay gereklilikleri kapsamında sertifikalı bir danışmanlık hizmeti sunulamaz — bir birim oluşturulana kadar burada gösterilen içerik, sertifikalı bir danışmanlık hizmeti değil, bağlayıcı olmayan kişisel bir bilgi olarak değerlendirilmelidir. Bu nedenle şu anda bu merkez üzerinden danışmanlık verilmesini önermiyoruz. Buna rağmen faaliyete devam ederseniz, bunu tamamen kendi risk ve sorumluluğunuzda yaparsınız.

uk: Для цього консультаційного центру ще не налаштовано жодного напряму (Fachbereich). Без напряму неможливо надавати сертифіковану консультацію відповідно до вимог щодо захисту даних і згоди — доки напрям не налаштовано, показаний тут контент слід розглядати як неофіційну особисту інформацію, а не як сертифіковану консультаційну послугу. Тому наразі ми не рекомендуємо надавати консультації через цей центр. Якщо ви все ж продовжуєте його діяльність, ви робите це виключно на власний ризик і відповідальність.

ti (LOW CONFIDENCE — needs native review before shipping): ነዚ ቤት ምኽሪ እዚ ገና ዝኾነ ዓውዲ (Fachbereich) ኣይተመዝገበን። ብዘይ ዓውዲ፡ ብመሰረት ናይ ውሕስነት ሓበሬታን ስምምዕን ዘድልዮ ብዕሊ ዝተመስከረ ምኽሪ ክወሃብ ኣይክእልን እዩ — ዓውዲ ክሳብ ዝቐውም፡ ኣብዚ ዝርአ ትሕዝቶ ከም ዘይግዴታዊ ውልቃዊ ሓበሬታ ደኣ እምበር ከም ዝተመስከረ ኣገልግሎት ምኽሪ ክውሰድ የብሉን። ስለዚ ሕጂ ብዛዕባ እዚ ቤት ምኽሪ ምኽሪ ክወሃብ ኣይንመክርን ኢና። ይኹን'ምበር ንጥፈት እንተቐጺልኩም፡ ብጠቕላላ ብናትኩም ሓደጋን ሓላፍነትን እዩ።

Related

#862, #769, #874, #583. Screenshot from the owner to attach here (mockup of the Datenschutzerklärung editor annotated "the consent screen must be also available if agency has not department selected") — pasted into a chat session, needs to be dragged in manually.

Activity

  1. github-project-automation
    added this to ORISO Roadmapon Sep 2, 2026
  2. github-project-automation
    moved this to Backlog in ORISO Roadmapon Sep 2, 2026
  3. Storypapst commented on Sep 2, 2026

    @Storypapst
    Storypapst
    on Sep 2, 2026
    CollaboratorAuthor
    More actions

    Technical analysis (verified against origin/pre-dev)

    DepartmentDataProtectionCard/index.tsx:

    ```jsx
    topicSlot={consentEnabled || departmentSlot ? (
    <>{consentEnabled && <LegalConsentField .../>}{departmentSlot}</>
    ) : undefined}
    ```

    consentEnabled = documentType === 'privacy' && consentByLanguage !== undefined. When false, nothing renders in that slot besides the department switcher — there's no existing disabled state to build on, this needs a new placeholder component.

    AgencyLegalTextContainer/index.tsx computes consentByLanguage as undefined whenever field !== 'privacy' || !isDepartment — i.e. whenever the switcher is on "Alle Fachbereiche" (comment: "Agency-wide ('Alle Fachbereiche') never edits consent in this card (#862)").

    DepartmentSelect/index.tsx: if (departments.length === 0) return null; — for an agency with zero Fachbereiche, the switcher never renders, selected is permanently stuck at ALL_DEPARTMENTS, so isDepartment is permanently false and the consent field is permanently unreachable for such an agency — this is the exact case the disclaimer is for.

    Files: src/components/Tenants/LegalSettings/components/DepartmentDataProtectionCard/index.tsx, src/components/Tenants/LegalSettings/components/AgencyLegalTextContainer/index.tsx, src/components/Tenants/LegalSettings/components/DepartmentSelect/index.tsx.

  4. Storypapst
    updated Priority Medium and Platform release v2.0.7 on Sep 14, 2026
  5. Storypapst
    moved this from Backlog to Ready in ORISO Roadmapon Sep 14, 2026
  6. Storypapst
    assigned
    Shirloin
    and
    nikunjdecyb
    on Sep 14, 2026
  7. Storypapst
    moved this from Ready to In progress in ORISO Roadmapon Sep 15, 2026
  8. Storypapst commented on Sep 15, 2026

    @Storypapst
    Storypapst
    on Sep 15, 2026
    CollaboratorAuthor
    More actions

    Built — draft PR: #972 (branch fix/914-consent-unavailable-placeholder, base dev), screenshots in the PR's evidence comment.

    Against the acceptance criteria:

    • Placeholder in the consent trigger's place — done. The consent segment of the editor's lower function bar now always renders: a dashed, stepped-back pill with the same label as the live control, where before the slot collapsed to nothing.
    • Click opens a dialog, never an error toast — done. The pill is genuinely pressable (it is not disabled, which would make the explanation unreachable); the house M3 dialog opens with a single "Verstanden".
    • Operator disclaimer for the zero-Fachbereich case, in all 7 content languages — done, de en fr ru tr uk ti, the issue's copy verbatim. It follows the legal-content language, like the consent sentence it stands in for, so the editor's language switcher reaches all seven; the dialog's own prose stays in the admin UI language and names which language the disclaimer is in.
    • No "create a Fachbereich" link — the zero-department dialog is the disclaimer and nothing else.

    Two things worth a decision from you:

    1. ti shipped as-is and is still the first-pass draft you flagged — it needs a native-speaker review before we lean on it. Everything else is your reviewed/refined copy.
    2. The "Alle Fachbereiche" dialog (Fachbereiche exist, switcher on the agency-wide entry) says the sentence belongs to a single Fachbereich and points at the switcher. Consent text field is completely absent when no specific Fachbereich is selected (zero departments, or 'Alle Fachbereiche') #914 only specified the zero-department copy, so this wording is mine — say the word if you want it different.

    One implementation note for review: consentByLanguage === undefined also covers a backend that does not carry the consentText field at all. That is not a state an admin can act on, so the container names the reason and stays silent for that legacy case, on the Impressum (ADR-021 decision 7), and before the agency record has loaded — the disclaimer is a legal claim about a specific Beratungsstelle and must not appear on a pending request.

    Verified locally only (Storybook + Playwright, commit beecd75); not deployed anywhere yet.

  9. Storypapst
    moved this from In progress to In review in ORISO Roadmapon Sep 15, 2026
  10. Storypapst
    changed
    Platform release
    to
    v2.0.7
    on Sep 16, 2026
  11. nikunjdecyb
    added a commit that references this issue on Sep 17, 2026

    Merge pull request #972 from OpenResilienceInitiative/fix/914-consent…

    d9d508d
  12. Storypapst
    added a commit that references this issue on Sep 17, 2026

    test(legal): reconcile consent tests after #914 and #929 merged indep…

    e07c930
  13. shanzaeimran
    added a commit that references this issue on Sep 17, 2026

    Merge pull request #1000 from OpenResilienceInitiative/fix/legal-cons…

    a751070
  14. Storypapst
    changed
    Platform release
    to
    v2.0.8
    on Sep 18, 2026
  15. Shirloin commented on Sep 21, 2026

    @Shirloin
    Shirloin
    on Sep 21, 2026
    Contributor
    More actions

    Verified on Dev. With "Alle Fachbereiche" the placeholder sits where the consent trigger normally is and opens an explanation dialog — no error toast. On a centre without any Fachbereich the dialog shows the operator notice, and the text follows the card's content language (checked German, English and Russian).

  16. Shirloin
    moved this from In review to QA internal in ORISO Roadmapon Sep 21, 2026
  17. Storypapst
    moved this from QA internal to QA external in ORISO Roadmapon Nov 4, 2026
  18. HelenaSKloeckner
    moved this from QA external to Done in ORISO Roadmapon Nov 18, 2026
  19. HelenaSKloeckner
    closed this as completedby moving to Done in ORISO Roadmapon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Shirloin
    Shirloin
  • @nikunjdecyb
    nikunjdecyb

Labels

No labels
No labels

Type

No type

Fields

Priority

Medium

Platform release

v2.0.8

Projects

  • ORISO Roadmap
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.