Feature/acs 3169 implement security mechanism for mail action (#1189)

Implementing access restriction for actions
Updating copyrights of modified files
Moving core restriction processing to an AbstractBase class
PR Review fixes
Slight improvement for future extensibility
This commit is contained in:
Marcin Strankowski
2022-07-06 16:07:40 +02:00
committed by GitHub
parent 92d010842a
commit 43480468af
21 changed files with 646 additions and 220 deletions

View File

@@ -5,6 +5,9 @@
<!-- This bean, which should only be used during Unit Tests, overrides the "mail" bean such that
it sets the testMode to true. -->
<bean id="mail" class="org.alfresco.util.email.ExtendedMailActionExecutor" parent="action-executer">
<property name="actionAccessRestrictions">
<ref bean="adminActionAccessRestriction"/>
</property>
<property name="queueName" value="outboundMail"/>
<property name="mailService">
<ref bean="mailService"></ref>