Skip to content

Commit

Permalink
FIX: don't hide "public invisible" groups from groups on user page
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Apr 16, 2015
1 parent a5b25ad commit 4919ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/admin/models/admin-user.js.es6
@@ -1,6 +1,6 @@
const AdminUser = Discourse.User.extend({

customGroups: Em.computed.filter("groups", (g) => !g.automatic && g.visible && Discourse.Group.create(g)),
customGroups: Em.computed.filter("groups", (g) => !g.automatic && Discourse.Group.create(g)),
automaticGroups: Em.computed.filter("groups", (g) => g.automatic && Discourse.Group.create(g)),

generateApiKey() {
Expand Down

2 comments on commit 4919ec4

@jlew-cs
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SamSaffron Curious what it is that makes a group "invisible"? Does it mean is has non-"everyone" security?

@SamSaffron
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Group is visible to all users" being unchecked on the admin/groups page.

Please sign in to comment.