hasPermissionsFor

Check if certain permissions have already been granted.

Return

true, if all permissions have been granted, false if at least one permission is not yet granted.

Parameters

context

The context for which to check

names

An array of strings containing the identifiers for each permission.