Bulk change of User Access options

According to the user type and permissions, it would be possible to check/uncheck the “hide passwords” and “read only” options for each User in a Collection.
Is there any possibility of doing this massively for all the collections? For example with some option in the json import file, or any other way?
I’ll appreciate any useful answer.
Thanks & Regards!

Does anyone know something about this?