How to add value to enum array for record?

User can have multiple roles = user, editor, reviewer etc so role is array []

I want to update user record and add one more role. I get user with existing roles and try to add new one to that array.

I get error. How to fix it?

5 replies