It is not possible to delete a page after enabling authentication via LDAP

Hi there! I’m having a bit of an issue. I added the LDAP configuration to xwiki.cfg and installed the extensions for LDAP authentication. Everything seems to be working fine. However, when I try to delete a page, I get an error code 4001 on line 4: “Error while evaluating velocity template delete.vm”. Instead of the confirmation page, this error message appears. If I disable the LDAP configuration, the deletion process works without any issues. Can you please help me figure out what might be causing this issue? I’d really appreciate it!

it makes me think of perhaps some denied access rights (maybe a programming rights thing?), could you double check the groups you’re assigned to with your ldap rules?

Hi, Wardenburg! Even if I log in as a local administrator, I get the same error. Even on pages where the administrator is the owner. At the same time, if I comment out the LDAP block in the configuration file completely, I can delete any page as the local administrator.
I tried the same process on another computer that was not connected to the AD network. I added an LDAP configuration and deleted something using the local administrator account, but I still got the same error.