Arena  1.0
A content management system
 All Classes Files Functions Variables Pages
ChannelsList.py File Reference

This file extends AnArenaContentProvider to produce a list of channels that is appropriate for the current user. More...

Classes

class  Plugins.Content.PerUser.Arena.ChannelsList.AnArenaChannelsListing
 A channel list producer. More...
 

Variables

string Plugins.Content.PerUser.Arena.ChannelsList.aclRightsQueryKey = "rights"
 The query key that specifies which rights to match for the channel list.
 
 Plugins.Content.PerUser.Arena.ChannelsList.aclDefaultRights = Right.toRead
 The default rights to match if none are provided by the client.
 

Detailed Description

This file extends AnArenaContentProvider to produce a list of channels that is appropriate for the current user.

Since channels in arena are defined in two places – in the 'channels' data source category and by posts themselves – this data must be amalgamated and pruned so that only those channels for which the current user has permissions are displayed.