static int parsePermission(String permissionStr) {
		if ("+r".equals(permissionStr)) {
			return User.READ_ONLY;
		}
		if ("+w".equals(permissionStr)) {
			return User.WRITE;
		}
		if ("+a".equals(permissionStr)) {
			return User.ADMIN;
		}
		return -1;
	}
Process the specified command.
@param repositoryMgr server's repository manager
@param cmd command string
@throws IOException if IO error occurs while processing command
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/CommandProcessor.java