This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-0714457f-92d9-46b5-abc8-18b03c46c302 XWIKI-22821 Open

Allowing having generic analyzers for different types of macro arguments

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-36b702e5-5436-4383-bf57-f7ab1245f874 Michael Hamann created this issue on 27/Jan/25 11:40
 
Summary: Allowing having generic analyzers for different types of macro arguments
Issue Type: cid:jira-generated-image-avatar-0714457f-92d9-46b5-abc8-18b03c46c302 Improvement
Affects Versions: 15.10
Assignee: Unassigned
Components: Security - Required Rights
Created: 27/Jan/25 11:40
Priority: cid:jira-generated-image-static-major-9cf41abe-1ee0-4ca3-b360-3da5a7c6c13e Major
Reporter: Michael Hamann
Description:

Currently, we have a generic required rights analyzer for macros but it only analyzes macro parameters that are declared as containing wiki syntax. It would be good to have a way to add required rights analyzers for different types of macro parameters such that they would automatically be analyzed independent of the concrete macro they are used in. An example would be to have an analyzer for MacroContentSourceReference, where script references always need script right. This would fix XWIKI-22798.

 
 

1 update

 
cid:jira-generated-image-avatar-36b702e5-5436-4383-bf57-f7ab1245f874 Changes by Michael Hamann on 27/Jan/25 11:40
 
Assignee: Michael Hamann