# Deleting the built-in admins role causes administrative lockout — OpenCore 1.5.12.64

**URL:** <https://discourse.openiap.io/t/deleting-the-built-in-admins-role-causes-administrative-lockout-opencore-1-5-12-64/3335>\
**Category:** Issues and feature requests\
**Created:** [October 7, 2026, 1:22pm UTC](https://discourse.openiap.io/t/deleting-the-built-in-admins-role-causes-administrative-lockout-opencore-1-5-12-64/3335 "2026-10-07T13:22:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Madsen](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Peter\_Madsen](https://discourse.openiap.io/u/Peter_Madsen)\
**Post date:** [October 7, 2026, 1:22pm UTC](https://discourse.openiap.io/t/deleting-the-built-in-admins-role-causes-administrative-lockout-opencore-1-5-12-64/3335/1 "2026-10-07T13:22:02Z")

</div>

**OpenCore version:** 1.5.12.64  
**Deployment:** Self-hosted with Docker  
**Error message:** None

Hi Allan,

Is it intentional that an administrator can delete the built-in `admins` role?

**There was no confirmation dialog, warning, or notification when deleting the role.**

I tested this twice. The deletion succeeded, and my account lost its administrator privileges, leaving me unable to recover access through OpenCore. Signing out and back in didn’t help.

The role later reappeared with only `root` as a member. I recovered by adding my account back through a direct MongoDB query in the container.

Should deletion of this role be blocked, or at least require confirmation with a clear warning about the risk of locking yourself out?

Can anyone running a newer version confirm whether this behavior still occurs?

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [October 14, 2026, 1:22pm UTC](https://discourse.openiap.io/t/deleting-the-built-in-admins-role-causes-administrative-lockout-opencore-1-5-12-64/3335/2 "2026-10-14T13:22:14Z")

</div>

Closed on October 14, 2026, 1:22pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
