Skip to content

Improve UX flow for package entitlements #612

@KallynGowdy

Description

@KallynGowdy

Currently, whenever a package want's access to an entitlement feature, it needs to manually request access via the os.grantEntitlements() function. In addition, when requested, the user is presented with a popup that doesn't explain much about what is being requested or who is requesting access.

Ideally, CasualOS would be able to automatically request entitlements on behalf of a package if it is recommended by the server. Additionally, CasualOS should display the following information in the "Grant Entitlement" screen:

  • Package identity
    • recordName
    • address
    • version
    • hash
    • review status
    • approval status
  • Package author identity
    • name
    • id
  • Requested entitlement
    • Feature with explaination on what feature allows access to
    • recordName
    • duration with selector

Any additional factors that we can think of to provide the granting user additional context on the who, what and why would also be good to include.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authEverything related to the Auth Frontend. (Everything in aux-server/aux-web/aux-auth)area:backendIs related to the backend server. (Everything in aux-records and aux-server/aux-backend)area:playerIs related to the player frontend. (Everything in aux-server/aux-web/aux-player)area:runtimeIs related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.)enhancementNew feature or request

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions