Module wicrs_server::permission[][src]

Expand description

Permissions are defined here.

Structs

ChannelPermissionSet

Datastructure that groups a channel permission setting with the channel ID that it is valid in and a permission setting.

HubPermissionSet

Struct that groups a hub permission with a permission setting.

Enums

ChannelPermission

Permissions that only apply to channels, override hub permissions.

HubPermission

Hub-wide permission, can be all of these except for the All permission can be overridden by channel permissions.

Type Definitions

ChannelPermissions

Map of channel permissions to permission settings.

HubPermissions

Map of hub permissions to permission settings.

PermissionSetting

Setting for a permission. If all user has permission set to None and it is set to None in all permission groups they are part of it maps to false.