Minor adjustments

This commit is contained in:
Tuan Dang
2024-09-11 10:30:16 -07:00
parent ea5e8e29e6
commit f03ca7f916
3 changed files with 7 additions and 3 deletions
@@ -55,6 +55,10 @@ export const auditLogServiceFactory = ({
actorOrgId
);
/**
* NOTE (dangtony98): Update this to organization-level audit log permission check once audit logs are moved
* to the organization level
*/
ForbiddenError.from(permission).throwUnlessCan(OrgPermissionActions.Read, OrgPermissionSubjects.Member);
}