# Import major views
from twistranet.core.views import AsView
from account_views import *
from community_views import *
from content_views import *
from resource_views import *
from media_views import *
from common_views import * 
from admin_views import *

# Reference actions.
# Note that actions may be pushed into database one day.
BaseView.available_actions = [ 
    ConfigurationEdit,
    MenuBuilder,
    UserAccountInvite,
    PendingNetworkView, 
    CommunityInvitations, 
    MyCommunitiesView, 
    CommunityCreate, 
    ContentCreate,
]

UserAccountView.available_actions = super(UserAccountView, UserAccountView).available_actions + \
    [ AddToNetworkView, RemoveFromNetworkView, UserAccountEdit, AccountDelete ]

UserAccountEdit.available_actions = super(UserAccountEdit, UserAccountEdit).available_actions + \
    [ ChangePassword, ]

CommunityView.available_actions = super(CommunityView, CommunityView).available_actions + \
    [ CommunityEdit, CommunityJoin, CommunityManageMembers, CommunityInvite, CommunityLeave, CommunityDelete, ]

ContentView.available_actions = super(ContentView, ContentView).available_actions + \
    [ ContentEdit, ContentDelete, ]
