Maurizio Vitale 28a47e83d2
Fetch the userInfo once loggedIn and expose the capability of admin (#7682)
* Fetch the userInfo once loggedIn and expose the cabilibility of admin

* Rollback method

* Return same use if defined

* Use the same pepleContent service for UserInfoCOmpnent

* Remove useless import

* Use interface

* Use angular resolver instead of guard

* Remove fdescribe

* Fix linting

* Regenerate doc

* Improve doc

* Fix optional

* Fix the unit test

* Fix comment

* Fix lint

* Fix unit

* Add fetch user as part of the ssoGuard

* Fix unit test after fetch

* Add additional unit

* Fix await
2022-06-27 12:02:01 +01:00

3.8 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Audit Service v3.9.0 Active 2020-08-12

Audit Service

Manages Audit apps and entries.

Class members

Methods

  • deleteAuditEntries(auditApplicationId: string, where: string): Observable<any>
    Permanently delete audit entries for an audit application.
    • auditApplicationId: string - The identifier of an audit application.
    • where: string - Audit entries to permanently delete for an audit application, given an inclusive time period or range of ids.
    • Returns Observable<any> -
  • deleteAuditEntry(auditApplicationId: string, auditEntryId: string): Observable<any>
    Permanently delete an audit entry.
    • auditApplicationId: string - The identifier of an audit application.
    • auditEntryId: string - The identifier of an audit entry.
    • Returns Observable<any> -
  • getAuditApp(auditApplicationId: string, opts?: any): Observable<AuditAppEntry>
    Get audit application info.
    • auditApplicationId: string - The identifier of an audit application.
    • opts: any - (Optional) Options.
    • Returns Observable<AuditAppEntry> -
  • getAuditApps(opts?: any): Observable<AuditAppPaging>
    List audit applications.
    • opts: any - (Optional) Options.
    • Returns Observable<AuditAppPaging> -
  • getAuditEntries(auditApplicationId: string, opts?: any): Observable<AuditEntryPaging>
    List audit entries for an audit application.
    • auditApplicationId: string - The identifier of an audit application.
    • opts: any - (Optional) Options.
    • Returns Observable<AuditEntryPaging> -
  • getAuditEntriesForNode(nodeId: string, opts?: any): Observable<AuditEntryPaging>
    List audit entries for a node.
    • nodeId: string - The identifier of a node.
    • opts: any - (Optional) Options.
    • Returns Observable<AuditEntryPaging> -
  • getAuditEntry(auditApplicationId: string, auditEntryId: string, opts?: any): Observable<AuditEntryEntry>
    Get audit entry.
    • auditApplicationId: string - The identifier of an audit application.
    • auditEntryId: string - The identifier of an audit entry.
    • opts: any - (Optional) Options.
    • Returns Observable<AuditEntryEntry> -
  • updateAuditApp(auditApplicationId: string, auditAppBodyUpdate: boolean, opts?: any): Observable<AuditApp|any>
    Update audit application info.
    • auditApplicationId: string - The identifier of an audit application.
    • auditAppBodyUpdate: boolean - The audit application to update.
    • opts: any - (Optional) Options.
    • Returns Observable<AuditApp|any> -