Hi everyone,
I am testing upgrade from 12.1 to 12.5 in a local staging environment before applying it to my production server. After updating the Docker image tag to 12.5 and running the native database migrations (node cli.js bootstrap), the migration completes successfully and says Database up to date.
When I log into the admin panel using my standard Administrator credentials I can access the dashboard, but every single collection under the “Content” tab throws the following error:
[FORBIDDEN] You don’t have permission to access collection “collection_name” or it does not exist. Queried in root.
Key details of my setup:
- No Extensions: The project is standard; there are no custom extensions or endpoints installed.
- Admin Account: The user I am logging in with belongs to the default, native Administrator role.
- What I tried: I tried clearing the cache (
node cli.js cache clear) and resetting page preferences in the browser, but the forbidden error persists across all collections.
It seems that during the schema migration from 12.1 to 12.5, the relationship between the admin role and the collection permissions gets broken or misaligned. Has anyone experienced this global FORBIDDEN bug after skipping a few versions? Is there a specific migration script or permission sync command required to restore admin access to the collections in 12.5?
Thanks for your help!