Of course, the stashes are permanent. They’re saved in the Database.
These is implemented in job creator scripts (that I have already provided here)
Here when you create the inventory the owner is 1, then he can decide if share the inventory with other players