With all respect, please create feature for managing roles in MariaDB.
Since they already implemented roles for privileges