XWIKI-22719: Custom displayers: use the author of the owner document
* Use the author of the owner document instead of loading the document from the cache/database. * Pass the "restricted" property of the class document to the displayer. * Extend the tests to check the actual renderer parameters.
Showing
- xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/PropertyClass.java 22 additions, 3 deletions...ain/java/com/xpn/xwiki/objects/classes/PropertyClass.java
- xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/objects/classes/PropertyClassTest.java 71 additions, 8 deletions...java/com/xpn/xwiki/objects/classes/PropertyClassTest.java
Loading