Would it be possible to disable embeds for specific user roles? If so, how?

Would it be possible to disable embeds for specific user roles? If so, how?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)