This looks like a duplicate of: Limiting access to a sub-contract to the address that initialized it.
Though @skyge’s answer has a nice example (which I didn’t have ).
This looks like a duplicate of: Limiting access to a sub-contract to the address that initialized it.
Though @skyge’s answer has a nice example (which I didn’t have ).