FezVisibility
enum FezVisibility : String, CaseIterable, Codable
The visibility of a FriendlyFez, controlling whether non-members/non-moderators can view or join it.
-
The default for Seamails (
.open/.closed) and.personalEvent. A non-member, non-moderator GET on the fez 403s.Declaration
Swift
case `private` -
The default for all LFG types. Non-members can view the fez (but not
.members) and can search for it.Declaration
Swift
case `public` -
Only valid on
.privateEvent. Non-members can view the fez (but not.members) via a direct link, and can self-join, but the event is never listed/searchable.Declaration
Swift
case unlisted -
The visibility a fez of the given type gets unless explicitly overridden.
Declaration
Swift
static func defaultVisibility(for fezType: FezType) -> FezVisibility
View on GitHub