Merge changes from topic 'group-audit-log'
* changes: Add new group screen that shows the audit log of the group Add integration test for listing group audit events Allow to get audit log of a group through GroupApi Add new REST endpoint that provides the audit log of a group
This commit is contained in:
@@ -98,4 +98,16 @@ public final class AccountGroupByIdAud {
|
||||
removedBy = deleter;
|
||||
removedOn = when;
|
||||
}
|
||||
|
||||
public Account.Id getAddedBy() {
|
||||
return addedBy;
|
||||
}
|
||||
|
||||
public Account.Id getRemovedBy() {
|
||||
return removedBy;
|
||||
}
|
||||
|
||||
public Timestamp getRemovedOn() {
|
||||
return removedOn;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,4 +103,16 @@ public final class AccountGroupMemberAudit {
|
||||
removedBy = addedBy;
|
||||
removedOn = key.addedOn;
|
||||
}
|
||||
|
||||
public Account.Id getAddedBy() {
|
||||
return addedBy;
|
||||
}
|
||||
|
||||
public Account.Id getRemovedBy() {
|
||||
return removedBy;
|
||||
}
|
||||
|
||||
public Timestamp getRemovedOn() {
|
||||
return removedOn;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,4 +32,8 @@ public interface AccountGroupByIdAudAccess extends
|
||||
@Query("WHERE key.groupId = ? AND key.includeUUID = ?")
|
||||
ResultSet<AccountGroupByIdAud> byGroupInclude(AccountGroup.Id groupId,
|
||||
AccountGroup.UUID incGroupUUID) throws OrmException;
|
||||
|
||||
@Query("WHERE key.groupId = ?")
|
||||
ResultSet<AccountGroupByIdAud> byGroup(AccountGroup.Id groupId)
|
||||
throws OrmException;
|
||||
}
|
||||
|
||||
@@ -33,4 +33,8 @@ public interface AccountGroupMemberAuditAccess extends
|
||||
@Query("WHERE key.groupId = ? AND key.accountId = ?")
|
||||
ResultSet<AccountGroupMemberAudit> byGroupAccount(AccountGroup.Id groupId,
|
||||
Account.Id accountId) throws OrmException;
|
||||
|
||||
@Query("WHERE key.groupId = ?")
|
||||
ResultSet<AccountGroupMemberAudit> byGroup(AccountGroup.Id groupId)
|
||||
throws OrmException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user