Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Notice related to cache delay following permission update #462

Open
3 tasks
fmigneault opened this issue Aug 11, 2021 · 0 comments
Open
3 tasks
Assignees
Labels
doc Documentation improvements or building problem feature New feature to be developed ui Something related to the UI operations or display

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented Aug 11, 2021

Description

Because cached request access (Twitcher side) could mismatch a recently applied permission (Magpie side) until the cache expires on Twitcher, it can be confusing for an admin to understand why a resource that just received the proper permissions for access remains inaccessible for a short duration, and becomes available slightly later (after cache expired).

Solution

  • A notice should be displayed as reminder in the UI such that it indicates, following a new/updated/deleted permission, that it could take some time to take effect according to Twitcher cache. Since Magpie doesn't know whether (and how long) the Twitcher caching could be set, it can only indicate it is a possibility.

  • Notice about Cache-Control: no-cache header should also be provided (via documentation link).

  • Documentation should be added about cache-control header and supported values / resulting behaviour.

@fmigneault fmigneault added the feature New feature to be developed label Aug 11, 2021
@fmigneault fmigneault self-assigned this Aug 11, 2021
@fmigneault fmigneault added ui Something related to the UI operations or display doc Documentation improvements or building problem labels Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation improvements or building problem feature New feature to be developed ui Something related to the UI operations or display
Projects
None yet
Development

No branches or pull requests

1 participant