hasAllPermissions method
Check if user has all of the specified permissions
Implementation
@override
Future<bool> hasAllPermissions(
String userId,
List<String> permissions, {
String? resource,
Map<String, dynamic>? context,
}) async {
final data = await getAuthorization(
userId,
resource: resource,
context: context,
);
return data.hasAllPermissions(permissions);
}