foundersandcoders / open-tourism-platform

An open platform to facilitate the creation of apps to promote local tourism and business in Nazareth
MIT License
17 stars 3 forks source link

automatically verify content for non `BASIC` users #185

Closed Karyum closed 6 years ago

Karyum commented 6 years ago

when someone is adding content to the api and is not a BASIC user it should update the content automatically to verified: true, so that they don't go through verifying the content.

mattlub commented 6 years ago

also need to automatically set verified: false for non ADMIN or SUPER users, because currently you could include verified: true in the body of a POST request

Karyum commented 6 years ago

@mattlub im trying to figure out what is the reason that creating content is literally open for everyone, ( open tourism platform yeah :wink: ik ) but you would atleast ask them to be a user. so im not sure whats the reason behind this ?

Karyum commented 6 years ago

what is stopping me right now from making a script and bombarding the otp with loads of content ?

will not do that no worries :laughing: