[x] Selection of warehouse for refeeding (have checkbox to disable automatic feeding)
[ ] List of allowed services with sway fee
Determine warehouses to show:
Warehouse must be on same asteroid as crew
Warehouse must contain food
Crew must have access:
Either crew is controller of the warehouse OR
Crew has permission to remove products from warehouse
Only crew level whitelist permissions are supported. A whitelisted address could work with the contract as permitted address but we should not allow this in the UI as this is potentially a security issue.
Warehouse escape hatch
The warehouse selection might not work if the crew is not permitted yet and the user has an advanced permission setup with a custom contract. For those cases:
Allow the user to enter a warehouse ID manually (verify that it's on the same asteroid)
Have a choice for the user between:
Including a whitelist tx in the call to permit the crew to remove products from the warehouse
No further action, assuming the user knows what they are doing and the crew actually has access
Determine warehouses to show:
Only crew level whitelist permissions are supported. A whitelisted address could work with the contract as permitted address but we should not allow this in the UI as this is potentially a security issue.
Warehouse escape hatch
The warehouse selection might not work if the crew is not permitted yet and the user has an advanced permission setup with a custom contract. For those cases: