It also includes allocating water resources over the long term, as well as seasonal adjustments to the amount of water available to different users, and the allocation of both surface waters and groundwater. The subsequent sections explore several elements of well-designed allocation regimes, including the definition of the resource pool, setting priorities for water allocation and the role of water permits, and governance arrangements for water allocation. Particular attention is given to legacy issues, which are an issue that will need to be addressed. Both federal, state and basin levels play a role in water allocation.