Give a user certain privileges

I would like to see a feature, where, if you invite someone, you can only allow them to see certain files or only have certain privileges, you can be able to turn off their ability to remix your project, or even allow them to see only certain things in the .env file, while not seeing other things.