From f8f40388fc4f75eafe6776f292f0deeabc465ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Libert?= Date: Fri, 29 Mar 2024 17:30:56 +0100 Subject: [PATCH] fmt --- assembly/security/accessControl.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assembly/security/accessControl.ts b/assembly/security/accessControl.ts index 037dfc34..4b0e390c 100644 --- a/assembly/security/accessControl.ts +++ b/assembly/security/accessControl.ts @@ -185,7 +185,7 @@ export class AccessControl { * @param permission - The permission bitmask to check. * @param user - The user identified by his address. * @returns true if the user has the permission, false otherwise. - * + * * @throws if the permission does not exist. */ public hasPermission(permission: T, user: Address): boolean { @@ -220,7 +220,7 @@ export class AccessControl { * @param permission - The permission bitmask to check. * @param user - The user identified by his address. * @returns true if the user has any of the permissions, false otherwise. - * + * * @throws if the permission does not exist. */ public hasAnyPermission(permission: T, user: Address): boolean { @@ -248,5 +248,4 @@ export class AccessControl { `User does not have any of the permissions.`, ); } - }