Interfacecorev0.11.0PermissionAssertionThe check assertPermissions runs. interface PermissionAssertion extends PermissionNoticeOverridesMember overviewPropertiesdangerousNoticeinversemissingNoticepermissionsscopesubjectPropertiesdangerousNoticedangerousNotice?: new (message: string | undefined, subject: string, dangerousPerms: readonly string[]) => NoticeInherited from:PermissionNoticeOverridesinverseRefuse when the subject holds a scope bit. inverse?: booleanmissingNoticemissingNotice?: new (message: string | undefined, subject: string, missingPerms: readonly string[]) => NoticeInherited from:PermissionNoticeOverridespermissionsThe effective permission bitfield the subject holds, computed by the caller. permissions: bigint;scopeThe permission flag bits to check. scope: PermissionScope;subjectMention string for who is checked, used as the refusal's subject. subject: string;
dangerousNoticedangerousNotice?: new (message: string | undefined, subject: string, dangerousPerms: readonly string[]) => NoticeInherited from:PermissionNoticeOverrides
missingNoticemissingNotice?: new (message: string | undefined, subject: string, missingPerms: readonly string[]) => NoticeInherited from:PermissionNoticeOverrides
permissionsThe effective permission bitfield the subject holds, computed by the caller. permissions: bigint;