@casl/ability

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access

@vsky/accesscontrol

This package is the core of AccessControl. JavaScript Package that encapsulates functionality related to access control permissions. This package is designed to manage and manipulate a set of permissions represented in a data structure.