When you need to differentiate user rights in the frontend, you may encounter a problem when the rights in the “user manager” for some reason show “allowed”, although it is “inherited” from users who have “prohibited”.
A trick of the ears – the main settings of user rights in Joomla are in the “Control Panel” – “General settings” – “Rights”.
Took me an hour to figure this out)). Hopefully someone will save time.