keystonejs / keystone

The most powerful headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
8.98k stars 1.13k forks source link

Dashboard not refreshing when access is updated #9169

Open harshna-fullness opened 3 weeks ago

harshna-fullness commented 3 weeks ago
  1. include some parameters in session data (e.g. role)
  2. keystoneConfig.ui: { isAccessAllowed: ({ session }) => !!(session && session?.data?.role) }
  3. If the user is assigned Role, after signin, he has to login and logout again before it is reflecting
  1. If the role is assigned after login, it should reflect on page refresh
image image

Browser: any Node: 20