The discussion centers around the possibility of limiting trust levels in Discourse using the API. satonotdead initiated the topic, referencing a previous discussion about limiting trust levels on groups and acknowledging that it’s not possible out-of-the-box. They inquired whether API calls could be used to lock or unlock trust levels based on conditions like badge acquisition. Kayaart confirmed that this is a viable workaround, explaining that while direct limitation via badges or automation isn’s possible, the API allows for changes to trust levels triggered by a script and a condition. satonotdead expressed intent to share their experiments and welcome any related contributions. Kayaart expressed appreciation for the welcoming community.
I wonder if any experienced user/dev can give me some light here? I want to limit trust_levels usint badges and/or automation and I see it’s not possible out of the box.
Trying to get this done I found that API calls can lock or unlock the trust_level on users, so it could work?
Any advice or suggestion would be greatly appreciated.
Ja, je hebt het goed begrepen: je kunt het vertrouwensniveau niet rechtstreeks beperken via badges of automatisering, maar wel via de API. Als je een voorwaarde creëert (bijvoorbeeld het verkrijgen van een badge), kun je met een script de API aanroepen om het vertrouwensniveau te wijzigen en het te corrigeren. Het is niet out-of-the-box, maar het werkt.
[quote=“Kayaart, post:2, topic:371684”]
t: je kunt het vertrouwensniveau niet rechtstreeks beperken via badges of automatisering, maar wel via de API. Als je een voorwaarde creëert (bijvoorbeeld het verkrijgen van een badge), kun je de API aanroepen met een script om het vertrouwensniveau te wijzigen en het te repareren. Het is niet kant-en-klaar, maar het werkt
[/quote]Bedankt, ik zal mijn experimenten delen. Deel gerust ook inzichten/lezingen/ideeën/prototypes.