document permissionsPlugin.getPermissions