Two Acl for one object

hi there …
i have two classes User and messages
a user can send a message and many users can read this message object
how can i create an acl for this object so that some users can read it and one user can read and write
i saw that we can set only one role to an acl … so how can i do as i mentionned

No. You can set individual users to ACL: JavaScript Developers Guide | Parse

You can set multiple options for ACLs, providing you have roles setup.

For example:

const acl = new Parse.ACL(Parse.User.current());
acl.setRoleReadAccess(‘admin’, true);

Will create an object with:

Current user r/w
Role admin r
No public r/w access