Update getPermissions.java