The required rights API has quite some dependencies into XWiki like the authorization and model API. These are not common dependencies for macros but it would be nice to have a way to implement required right analyzers directly in the macros that are concerned by them. Therefore, we should add a dedicated API for macros to implement a required rights analyzer. This API should only depend on the rendering API. |