Hi,
Just to update the thread, we had a discussion via emails. The problem was caused by incorrect codenames on permission names. So for future reference, I would recommend other users to check the link in our https://docs.kentico.com/display/K8/Creating+custom+modules documentation to avoid similar issues in the future.
Best regards, Roman Konicek