You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
channel: Add selfHasContentAccess, using canSubscribeGroup et al
Fixeszulip#814.
The general implementation of group-based permissions was added in
the commits leading up to this one. This commit demonstrates
implementing a given such permission.
This particular permission is one we don't yet have any logic that
should consume; we'll be adding that as part of zulip#188, where we'll want
to know whether to offer the option to subscribe to a given channel.
To exercise this method on real data, I added some debugging prints
that printed a list of the channels where this returned true, and a
list of the channels where it returned false.
0 commit comments