You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no other issue that already describes my problem.
Describe the Bug
When using dynamic user variables in permissions, the fetched dynamic variables are included in the permissions cache, meaning that you have to flush the permissions cache by changing the permissions in order to pull in the latest dynamic user variables. The dynamic variables should be fetched dynamically, and should be cached in the user-data cache instead (so it's purged on content change, rather than permissions change).
To Reproduce
Use dynamic variables in permissions, change the data that's used in the permissions, note outdated permissions.
Errors Shown
No response
What version of Directus are you using?
9.0.1
What version of Node.js are you using?
17
What database are you using?
Postgres 13
What browser are you using?
Safari
What operating system are you using?
macOS Big Sur
How are you deploying Directus?
Locally
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
When using dynamic user variables in permissions, the fetched dynamic variables are included in the permissions cache, meaning that you have to flush the permissions cache by changing the permissions in order to pull in the latest dynamic user variables. The dynamic variables should be fetched dynamically, and should be cached in the user-data cache instead (so it's purged on content change, rather than permissions change).
To Reproduce
Use dynamic variables in permissions, change the data that's used in the permissions, note outdated permissions.
Errors Shown
No response
What version of Directus are you using?
9.0.1
What version of Node.js are you using?
17
What database are you using?
Postgres 13
What browser are you using?
Safari
What operating system are you using?
macOS Big Sur
How are you deploying Directus?
Locally
The text was updated successfully, but these errors were encountered: