This commit is contained in:
quantulr
2023-08-31 16:24:37 +08:00
parent 0288146b0d
commit 5bbe958729
32 changed files with 317 additions and 105 deletions

View File

@ -0,0 +1,7 @@
function hasPermission(permission, permissions) {
return permissions.indexOf(permission) != -1;
}
module.exports = {
hasPermission: hasPermission,
};