Disable authentication for users with role

Hello,

i would like to disable authentication in users, which they do not have any permissions. the can not do or view anything. Although they can authenticate.

Any idea??

Thank you!!