leichter / cwrx

(Old) Cinema6 API
0 stars 0 forks source link

Campaign Schema/Policy Updates for Showcase Campaigns #889

Open leichter opened 8 years ago

leichter commented 8 years ago

Showcase users should be able to create showcase campaigns, and should only be able to create showcase campaigns.

We should nail down exactly what the structure of these new campaigns will look like, and then decide how ambitious we want/need to be with updating the campaign schema and designing policies to handle this. At the very least, we'll likely need to make sure that bob users can set application = 'showcase' on their campaigns.

cc @minznerjosh

leichter commented 8 years ago

Going forward, now that showcase + selfie apps work with the same campaigns, we should probably update the campaign schema to remove assumptions that the default user is a selfie user, and put selfie user restrictions into selfie user policies. For example: the restriction that cards must have at most 1 entry should probably be moved into selfie user policies and not be a default restriction on campaigns.

leichter commented 8 years ago

Also, should probably consider ensuring that pricing hash is defaulted to {}.