@Role
public interface MacroPermissionPolicy
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPermission(ScriptMacroParameters parameters,
org.xwiki.rendering.transformation.MacroTransformationContext context)
Verifies if the current execution Script Macro is allowed to execute its content or not.
|
boolean hasPermission(ScriptMacroParameters parameters, org.xwiki.rendering.transformation.MacroTransformationContext context)
parameters - the executing macro parameterscontext - the transformation context in which the current macro is executingCopyright © 2004–2014 XWiki. All rights reserved.