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.
כן, הבנת נכון: אי אפשר להגביל ישירות את רמת האמון באמצעות תגים או אוטומציה, אבל אפשר דרך ה-API. אם תיצור תנאי (לדוגמה, קבלת תג), תוכל לקרוא ל-API עם סקריפט כדי לשנות את ה-trust_level ולתקן זאת. זה לא מובנה מהקופסה, אבל זה עובד