added getMergedPermissions to the docs