XWiki-9282 : Add a way to restrict access to some classes. Remove PR verification for setRestricted. This should be handle with edit rights on the document representing the class