A tier system is needed. Tiers are: supporter (view only), coder (watermarked, max 800 steps), artist (unwatermarked, max 1600 steps), god (everything, i.e. me).
Tokens need to be hashed. The best way to do this would be to build a regenerate token endpoint. Nice to have: require the first operation with the first token to be a regenerate token. Need check auth endpoint. God should be able to regenerate token for any user.
The user should only see their own works if logged in. Restrict publish to god tier.
We need proper error handling in the UI. Whatever message comes from the back-end, we need to show this to the user in a growler or popup. Need a catch-all solution for this.
Sub-god users should be allowed only one piece on the queue at a time, and a limit on max number of steps per generation. Coders only get watermarked videos and don't get access to RIFE or ESRGAN. Artists get unwatermarked videos and higher max number of steps (1600 vs 800 for coders?). Nice to have: number in queue (how to do this?).
One more thing: if we want to bust a user down to tier 0, they shouldn't necessarily lose access to their works. Nice to have: view mine, no create/update/etc.
A tier system is needed. Tiers are: supporter (view only), coder (watermarked, max 800 steps), artist (unwatermarked, max 1600 steps), god (everything, i.e. me).
Tokens need to be hashed. The best way to do this would be to build a regenerate token endpoint. Nice to have: require the first operation with the first token to be a regenerate token. Need check auth endpoint. God should be able to regenerate token for any user.
The user should only see their own works if logged in. Restrict publish to god tier.
We need proper error handling in the UI. Whatever message comes from the back-end, we need to show this to the user in a growler or popup. Need a catch-all solution for this.
Sub-god users should be allowed only one piece on the queue at a time, and a limit on max number of steps per generation. Coders only get watermarked videos and don't get access to RIFE or ESRGAN. Artists get unwatermarked videos and higher max number of steps (1600 vs 800 for coders?). Nice to have: number in queue (how to do this?).
One more thing: if we want to bust a user down to tier 0, they shouldn't necessarily lose access to their works. Nice to have: view mine, no create/update/etc.