Skip to content

Conversation

@ogayot
Copy link
Member

@ogayot ogayot commented Nov 27, 2025

Disallowed capabilities that have actions are now visible along with their category (i.e,. for user or for installer) in the /storage/v2/guided response:

  "actions": [
    {
      "type": "ENABLE_TPM_VIA_FIRMWARE",
      "for_user": false
    },
    {
      "type": "CONTACT_OEM",
      "for_user": true
    }
  ]

This makes it possible for the desktop installer to distinguish between the actions that can be performed using /storage/v2/core_boot_fix_encryption_setup and those which can't.

@ogayot
Copy link
Member Author

ogayot commented Nov 27, 2025

cc @d-loose

@ogayot ogayot force-pushed the snapd-fix-actions-categories branch from bd7f4af to 0c963ca Compare November 27, 2025 16:45
@d-loose
Copy link
Member

d-loose commented Nov 27, 2025

Nice, thanks!

@ogayot ogayot requested a review from dbungert December 4, 2025 00:25
@ogayot ogayot force-pushed the snapd-fix-actions-categories branch from c053a01 to 6c3831f Compare December 8, 2025 17:17
@ogayot ogayot changed the base branch from snapd-actions to main December 8, 2025 17:18
@ogayot
Copy link
Member Author

ogayot commented Dec 8, 2025

Rebased on top of main and now targetting the main branch.

…form

Disallowed capabilities that have actions are now visible along with their
category (i.e,. for user or for installer) in the /storage/v2/guided response:

  "actions": [
    {
      "type": "ENABLE_TPM_VIA_FIRMWARE",
      "for_user": false
    },
    {
      "type": "CONTACT_OEM",
      "for_user": true
    }
  ]

This makes it possible for the desktop installer to distinguish between the
actions that can be performed using /storage/v2/core_boot_fix_encryption_setup
and those which can't.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
@ogayot ogayot force-pushed the snapd-fix-actions-categories branch from 6c3831f to 6681200 Compare December 8, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants