Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0-rc-1
-
None
-
Unknown
-
Description
This task is about auditing that all rights verifications are fully done.
There is at least one case that looks problematic to me: the save of the rights on a non-terminal page, for which the script service only checks "edit" on the reference itself but the restriction, in the UI, as currently implemented in XWiki , requires 'admin' on the page tree in order to be able to update rights (and any administration change) : https://github.com/xwiki-contrib/api-rights/blob/main/api-rights-api/src/main/java/org/xwiki/contrib/rights/internal/RightsAPIService.java#L108 .