Skip to content

[OpenSpec] contracts-licence-seats #1123

Description

@github-actions

⚠️ OpenSpec-managed issue — this content is automatically synced
from the openspec/ directory. Manual edits will be overwritten on next sync.

Artifacts

Summary

A municipality that buys 400 user licences for an application cannot write that down in stackiq, and cannot see that 460 people now use it. This change gives a licence contract a licence metric, the number of licences bought and the number in use, shows the two against each other on the contract, and adds a seats section to the License posture page that lists every licence contract with its use and flags the ones that are over.

Specs

Tasks

  • Implement
  • Test (PHPUnit tests/Unit/Settings/LicenceSeatsDeclarationTest.php)
  • Implement
  • Test (vitest tests/vitest/licensePosture.spec.js)
  • Implement
  • Test (Playwright tests/e2e/spec-coverage/licence-seats.spec.ts)
  • Implement
  • Test (Playwright tests/e2e/spec-coverage/licence-seats.spec.ts)
  • Implement
  • Test (Playwright tests/e2e/spec-coverage/licence-seats.spec.ts against the demo data)

Design

See design.md for technical design details.


Synced from openspec/changes/contracts-licence-seats by OpenSpec workflow
App: stackiq

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions