# Selfhosted 12.1 to 12.5 - Admin user loses permissions on all collections

**URL:** <https://community.directus.com/t/selfhosted-12-1-to-12-5-admin-user-loses-permissions-on-all-collections/2680>\
**Category:** Help\
**Tags:** data-modeling\
**Created:** [October 18, 2026, 5:46pm UTC](https://community.directus.com/t/selfhosted-12-1-to-12-5-admin-user-loses-permissions-on-all-collections/2680 "2026-10-18T17:46:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Criss](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/criss/32/1088_2.png) [@Criss](https://community.directus.com/u/Criss)\
**Post date:** [October 18, 2026, 5:46pm UTC](https://community.directus.com/t/selfhosted-12-1-to-12-5-admin-user-loses-permissions-on-all-collections/2680/1 "2026-10-18T17:46:03Z")

</div>

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!
