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
…ts themselves (see #7064)
Description
-----------
Fixes#7059
This was actually an inconsistency in all previous Contao versions. The admin user is not allowed to disable itself, because you could disable the only admin account etc. The new user voter prevents that, which correctly disables the toggle operation automatically. But since the fields were still present in the UI, the data could not be stored.
Commits
-------
39b9f2a Disallow disable,start,stop fields for admin on itself
leofeyer
pushed a commit
to contao/core-bundle
that referenced
this issue
Apr 9, 2024
…ts themselves (see #7064)
Description
-----------
Fixescontao/contao#7059
This was actually an inconsistency in all previous Contao versions. The admin user is not allowed to disable itself, because you could disable the only admin account etc. The new user voter prevents that, which correctly disables the toggle operation automatically. But since the fields were still present in the UI, the data could not be stored.
Commits
-------
39b9f2a9 Disallow disable,start,stop fields for admin on itself
Affected version(s)
5.3.3
Description
Administratoren können ihren eigenen Datensatz nicht bearbeiten/speichern, wenn sie ihn über Account-Manager -> Users -> Edit bearbeiten wollen:
Not enough permissions to update [Subject: Source: tl_user; ID: 1].
Über das Profil funktioniert es natürlich weiterhin.
Zum Nachvollziehen: Kevin Jones in der Demo öffnen und zB auf
Save
gehen.Bug oder known limitation?
The text was updated successfully, but these errors were encountered: