Hola Matias,
If I followed your problem well, the solution isn’t possible.
The roles cannot be changed from your APP, it must be done using GDE directly.
Here you can read further details https://community.glideapps.com/t/cannot-write-info-to-role-column-in-user-table/
Saludos!