Adding roles to permission checking.