duse-io / api

RESTful api of duse
http://duse-io.github.io/
MIT License
8 stars 0 forks source link

How to handle limits? #25

Closed brancz closed 9 years ago

brancz commented 9 years ago

I propose, we use a "limit profile" based approach. Each user has a profile describing what limitations the account has.

Limitations include:

Currently a user can have up to 10 secrets, a secret can have 10 participants and a single secrets can be around 5000 characters, mainly to prevent spam. This should all be dynamic in the future, but works for MVP.

brancz commented 9 years ago

after some thought .. only the number of secrets a user can have will be limited by the users profile and the secret cipher text will remain at a limit of 5000 characters