AuditService
injectable
Service providing access to the systems audit entries. Audits can be seen as the history of an object. Actions perormed on an object (eg. read, write, delete, …) will be recorded during the objects lifecycle. Audits are provided based on a users permissions. Beside the audit entries visible to regular users there are more technical ones that will only be shown to users that have administrative role.
Methods
Section titled “Methods”getAuditActions
Section titled “getAuditActions”Get an array of action codes that are provided by the service. Based on whether or not the user has admin permissions you’ll get a different set of actions.
getAuditActions(allActions: boolean, skipActions: number[]): number[]Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| allActions | boolean | |
| skipActions | number[] |
getAuditEntries
Section titled “getAuditEntries”Get audit entries of a dms object
getAuditEntries(id: string, options: AuditQueryOptions): Observable<AuditQueryResult>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| id | string | |
| options | AuditQueryOptions |
getPage
Section titled “getPage”Get a certain page for a former audits query.
getPage(auditsResult: AuditQueryResult, page: number): Observable<AuditQueryResult>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| auditsResult | AuditQueryResult | |
| page | number |