role/permission palette didn't work because of  the stateless form