How can I add more users to users column in Rule class?

Hey!

How can I add more users to users column in Rule class?

Im trying like this:

const roleACL = new Moralis.ACL();
const role = new Moralis.Role(‘myGroupId’, roleACL);
role.getUsers().add(user);
role.save();

Im able to get One user in that column but not more.

Hi,
Not sure if it helps, maybe you need to add ({ useMasterKey: true }) to some function call.
I don’t know where from you run that code either, as in from a cloud function or from a web page.