This addon is a fork of ev-aikau-auditreport and helps to view the audit data for a document on a separate page built using AIKAU framework.
- Supporting Alfresco 5.2.x
- More control over who can see the report by configuration - see below
- Uses Alfresco SDK to 3.x
A custom Document Library Action and link on Document Details page are provided for viewing the audit report for a document.
This addon uses the default alfresco-access audit application. Make sure that you have below lines added to alfresco-global.properties:
audit.enabled=true
audit.alfresco-access.enabled=true
audit.alfresco-access.sub-actions.enabled=true
The following configuration shows the default permission configuration. It allows anybody show audit information.
# Comma-separated list of alfresco groups that may use the audit report service.
# The 'ALL' setting allows all users to use it. The opposite to allow for nobody is an empty setting.
# Example: ALFRESCO_ADMINISTRATORS,SITE_ADMINISTRATORS
auditreport.allowedGroups=ALL
# Comma-separated list of site groups that may use the audit report service.
# The 'ALL' setting allows all users to use it. The opposite to allow for nobody is an empty setting.
# Example: SiteManager,SiteCollaborator
auditreport.allowedSiteGroup=ALL
# If a user needs to have write permission for the document, to show audit information of a document.
# Value: false or true
auditreport.writePermission=false
Notes:
auditreport.allowedGroups
andauditreport.writePermission
criteria areOR
combined. That means one of it must match.- If
auditreport.writePermission
is set totrue
additionally a user need write permission on the document.
A common configuration may:
auditreport.allowedGroups=ALFRESCO_ADMINISTRATORS,SITE_ADMINISTRATORS
auditreport.allowedSiteGroup=SiteManager
auditreport.writePermission=false
This ...
- ... allows Alfresco or Site Administrators to get information of a document.
- ... allows SiteManager of a site to access audit information of a document.
- ... other members of a Site can not access audit information of a document.
- Clone Repository
- run
mvn clean package
- Copy Amps to your Alfresco installation:
form4-auditreport-repo
to amps folderform4-auditreport-share
to amps_share folder
- Apply amps
- simmply by running apply_amps.[sh|bat]
- or for each application itself:
java -jar alfresco-mmt.jar form4-auditreport-repo-XX.amp <webapps>/alfresco.war
java -jar alfresco-mmt.jar form4-auditreport-share-XX.amp <webapps>/share.war
- Assure correct file ownership to tomcat user for amps and generates .war files
- Restart Tomcat