Two role but different permission for same class

In Pimcore 6.2.3
Role1 has permission for the class1 to view, save. edit and delete.
Role2 has permission for the class1 to only view.

If user1 has assigned both roles Role1 and Role2 then what is the logic in pimcore have to showcase both roles?
is OR condition or AND condition?