Add scope restriction to COG STAC exports
jisantuc opened this issue · comments
James Santucci commented
Problem description
Only Pro users can create STAC exports with COGs. We should add a new action type COGExport
, a ScopedAction
for Pro users, and another authorization check to STAC export creation after decoding.
We should also unit test that the GroundworkProUser
scope resolution includes this action but the GroundworkUser
scope does not, since the API integration test won't be able to provide a JSON body.