Open the SQL Editor as an ADMIN user or with specific privileges and issue the following for the specific "user":
GRANT EXECUTEon REPOSITORY_REST touser;
Using a script to create a general role does not automatically assign PUBLIC to the user when a user script is ran to assign the general role to the user unless you add the above line in the script of the general role.