Skip to content

When are a token user's permissions recalculated? #481

Open

Description

@caseysoftware

phpGACL item permissions are cached and recalculated at login (checkLogin() → recalcPermissions()). API tokens never log in. Options: recalculate a user when their roles or permissions change (proposed; the admin handlers already know when that happens), or recalculate a token's user at most every few minutes. Related to #455 (how often a signed-in user's status is re-checked).

Decision needed before: Phase 1 (#489).

Open question from the REST API and MCP server proposal (#471), section 17.

Activity

  1. added
    api
    on Oct 23, 2026
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

    api

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions