Improve errors when scope is limited

Created on 25 November 2024, 5 months ago

Problem/Motivation

If the API token only has `purge_select` and `purge_all` then, when you visit the Edge modules page, the error shows "403" which isn't obvious.

Steps to reproduce

  • Create a token with limited scope.
  • Set the token.
  • Visit /admin/config/services/fastly/edge-modules.
  • Note the generic error.

Proposed resolution

Add handling to inspect the token and offer an information message.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇦🇺Australia sime Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024