You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While #93 deals with adding authentication in front of the GTFS API, there is currently no check on the user's feed source permissions to determine whether they are authorized to make the GraphQL request. This is a bit tricky because the namespace value, which could be present in either the GraphQL query or variables must be used to determine a user's access to feed sources. Furthermore, this namespace value might exist in one of a couple MongoDB collections: FeedVersions or Snapshots (or perhaps the FeedSource#editorNamespace value).
The text was updated successfully, but these errors were encountered:
landonreed
changed the title
Add user permissions check to ensure user has access to feeds
Add GTFS GraphQL user permissions check to ensure user has access to feeds
Jun 12, 2018
While #93 deals with adding authentication in front of the GTFS API, there is currently no check on the user's feed source permissions to determine whether they are authorized to make the GraphQL request. This is a bit tricky because the namespace value, which could be present in either the GraphQL query or variables must be used to determine a user's access to feed sources. Furthermore, this namespace value might exist in one of a couple MongoDB collections: FeedVersions or Snapshots (or perhaps the FeedSource#editorNamespace value).
The text was updated successfully, but these errors were encountered: