Discourse Meta
Plugin Development: List a user’s groups without making a request
מפתח
david
(David Taylor)
2 בינואר, 2019, 9:39am
9
Did you try
current_user.groups
? That should work
הצגת פוסט בנושא
נושאים קשורים
נושא
תגובות
צפיות
פעילות
User JS Object `groups` array not populated for several users
Development
6
689
13 באפריל, 2023
Plugin to show full name only to users of the same group
Development
8
784
18 בספטמבר, 2021
Does exist JavaScript if is admin or if is group?
Product Support
2
543
19 באפריל, 2018
Finding all groups of the poster in a topic
Development
5
339
10 ביוני, 2024
Deprecating the user of `user.groups` in the `User` model in JavaScript
Development
dev-news
5
244
31 באוגוסט, 2026