org.olat.modules.wiki
Interface WikiSecurityCallback

All Known Implementing Classes:
WikiSecurityCallbackImpl

public interface WikiSecurityCallback

Description:
callback for security calls. Wiki page creation and editing a page are restricted and bypass this callback

Initial Date: Feb 19, 2007

Author:
guido

Method Summary
 SubscriptionContext getSubscriptionContext()
           
 boolean mayEditAndCreateArticle()
           
 boolean mayEditWikiMenu()
           
 boolean mayModerateForum()
           
 

Method Detail

mayEditAndCreateArticle

boolean mayEditAndCreateArticle()
Returns:
true if admin or allowed by preconditions of used in collaboration group context where everything is allowed

mayEditWikiMenu

boolean mayEditWikiMenu()
Returns:
true if admin or resource owner or used in collaboration group context where everything is allowed

getSubscriptionContext

SubscriptionContext getSubscriptionContext()
Returns:
the subscriptionContext. if null, then no subscription must be offered

mayModerateForum

boolean mayModerateForum()
Returns:
true if admin or resource owner.