Control method for providers to specify/access only their provider_ids/devices #551
Labels
Agency
Specific to the Agency API
discussion
Feedback is requested on an ongoing basis
security
Impacts the security of data flow/access or authentication
Is your feature request related to a problem? Please describe.
Define a data access and/or authentication control method within MDS to allow providers to specify and access things like provider_ids and vehicle_ids, but only for approved providers and vehicles.
Part of the solution may include requiring that providers and cities talk about what a provider is allowed to see, and define that cooperatively digitally, and use that definition to validate specific data exchange.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Is this a breaking change
Impacted Spec
For which spec is this feature being requested?
agency
policy
provider
Describe alternatives you've considered
Likely not to allow this sort of functionality at all.
Additional context
This came up in regards to PR #469 and was identified in this comment. Allowing a provider to add any provider_ids they have control over would be problematic.
Another place this comes up with is with Stops in Agency, where device_ids and provider_id can be specified. Should providers be allowed to see other provider's vehicle_ids, and if not how do you constrain this?
The text was updated successfully, but these errors were encountered: