wip
This commit is contained in:
@@ -17,6 +17,7 @@ import { AbilitySubject, ISubjectAbilitiesSchema, ISubjectAbilitySchema } from "
|
|||||||
import { PaymentReceiveAction } from "../PaymentReceived/types/PaymentReceived.types";
|
import { PaymentReceiveAction } from "../PaymentReceived/types/PaymentReceived.types";
|
||||||
import { PreferencesAction } from "../Settings/Settings.types";
|
import { PreferencesAction } from "../Settings/Settings.types";
|
||||||
import { AuditLogAction } from "../EE/AuditLogs/types/AuditLogs.types";
|
import { AuditLogAction } from "../EE/AuditLogs/types/AuditLogs.types";
|
||||||
|
import { AttachmentAction } from "../Attachments/Attachments.types";
|
||||||
|
|
||||||
export const AbilitySchema: ISubjectAbilitiesSchema[] = [
|
export const AbilitySchema: ISubjectAbilitiesSchema[] = [
|
||||||
{
|
{
|
||||||
@@ -311,6 +312,7 @@ export const AbilitySchema: ISubjectAbilitiesSchema[] = [
|
|||||||
subjectLabel: 'ability.audit_log',
|
subjectLabel: 'ability.audit_log',
|
||||||
abilities: [
|
abilities: [
|
||||||
{ key: AuditLogAction.View, label: 'ability.view' },
|
{ key: AuditLogAction.View, label: 'ability.view' },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
subject: AbilitySubject.Attachment,
|
subject: AbilitySubject.Attachment,
|
||||||
|
|||||||
Reference in New Issue
Block a user