Hi,
I have almost finished writing a new right service implementation and
have some questions about nested spaces.
I am using the EntityReference classes for representing the document
hierarchy, with the addition for using the main wiki as the parent of a
virtual wiki.
XWikiRightServiceImpl is using the parent field in the space's
preferences to form a space hierarchy. The EntityReference classes
support a list of spaces, but this does not seem to be implemented
yet.
Can a right service implementation assume that the nested space
hierarchy was resolved externally and was inserted into the
DocumentReference as a list of spaces?
Will the list of spaces in an EntityReference correspond to following
parent fields in the space preferences or does a right service
implementation need to resolve these parent fields for backwards
compliancy?
Best Regards,
Andreas Jonsson