boolean removeUser(String username) throws IOException {
		synchronized (fileSystem) {
			if (userMap.remove(username) != null) {
				writeUserList(userMap, anonymousAccessAllowed);
				log.info("User access removed from repository '" + name + "': " + username);
				return true;
			}
			return false;
		}
	}
Privileged method for removing user access from this repository
@param username user username
@return true if user had access and has been successfully removed, else false
@throws IOException failed to update repository access list
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/Repository.java