export function removeRole()

in package/src/rbac.ts [48:54]


export function removeRole(roleId: string): IdentityResponse {
    if (roles.has(roleId)) {
        roles.delete(roleId);
        return { message: "Role removed successfully." };
    }
    return { message: "Role does not exist and cannot be deleted." };
}